Type alias CreditGrantInput

CreditGrantInput: { additionalMetaData?: InputMaybe<Scalars["JSON"]>; amount: Scalars["Float"]; comment?: InputMaybe<Scalars["String"]>; cost?: InputMaybe<MoneyInputDto>; currencyId: Scalars["String"]; customerId: Scalars["String"]; displayName: Scalars["String"]; effectiveAt?: InputMaybe<Scalars["DateTime"]>; environmentId?: InputMaybe<Scalars["UUID"]>; expireAt?: InputMaybe<Scalars["DateTime"]>; grantType: CreditGrantType; priority?: InputMaybe<Scalars["Float"]>; resourceId?: InputMaybe<Scalars["String"]> }

Input for creating a credit grant

Type declaration

  • Optional additionalMetaData?: InputMaybe<Scalars["JSON"]>

    Metadata associated with the entity

  • amount: Scalars["Float"]

    The amount of the credit grant

  • Optional comment?: InputMaybe<Scalars["String"]>

    The comment for the credit grant

  • Optional cost?: InputMaybe<MoneyInputDto>

    The fiat cost of the credit grant

  • currencyId: Scalars["String"]

    The custom currency ID of the credit grant

  • customerId: Scalars["String"]

    The customer ID of the credit grant

  • displayName: Scalars["String"]

    The display name of the credit grant

  • Optional effectiveAt?: InputMaybe<Scalars["DateTime"]>

    The effective date of the credit grant

  • Optional environmentId?: InputMaybe<Scalars["UUID"]>

    The unique identifier for the environment

  • Optional expireAt?: InputMaybe<Scalars["DateTime"]>

    The expiration date of the credit grant

  • grantType: CreditGrantType

    The type of the credit grant

  • Optional priority?: InputMaybe<Scalars["Float"]>

    The priority of the credit grant

  • Optional resourceId?: InputMaybe<Scalars["String"]>

    The resource ID of the credit grant