|
| 1 | +/* |
| 2 | + * The version of the OpenAPI document: v4 |
| 3 | + * |
| 4 | + * |
| 5 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 6 | + * https://openapi-generator.tech |
| 7 | + * Do not edit this class manually. |
| 8 | + */ |
| 9 | + |
| 10 | +import { CardIdentification } from "./cardIdentification"; |
| 11 | + |
| 12 | + |
| 13 | +export class FundingInstrument { |
| 14 | + "cardIdentification"?: CardIdentification | null; |
| 15 | + /** |
| 16 | + * The unique reference assigned by the card network for the pay-in transaction. |
| 17 | + */ |
| 18 | + "networkPaymentReference"?: string; |
| 19 | + /** |
| 20 | + * Your internal reference that identifies this funding instrument. Required if `sourceOfFunds` is **DEPOSIT_ACCOUNT**. |
| 21 | + */ |
| 22 | + "reference"?: string; |
| 23 | + /** |
| 24 | + * Indicates where the funds used for the transfer originated. Possible values are: - **DEBIT** for card-to-card transfers. - **DEPOSIT_ACCOUNT** for wallet-to-card transfers. |
| 25 | + */ |
| 26 | + "sourceOfFunds"?: FundingInstrument.SourceOfFundsEnum; |
| 27 | + |
| 28 | + static readonly discriminator: string | undefined = undefined; |
| 29 | + |
| 30 | + static readonly mapping: {[index: string]: string} | undefined = undefined; |
| 31 | + |
| 32 | + static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ |
| 33 | + { |
| 34 | + "name": "cardIdentification", |
| 35 | + "baseName": "cardIdentification", |
| 36 | + "type": "CardIdentification | null", |
| 37 | + "format": "" |
| 38 | + }, |
| 39 | + { |
| 40 | + "name": "networkPaymentReference", |
| 41 | + "baseName": "networkPaymentReference", |
| 42 | + "type": "string", |
| 43 | + "format": "" |
| 44 | + }, |
| 45 | + { |
| 46 | + "name": "reference", |
| 47 | + "baseName": "reference", |
| 48 | + "type": "string", |
| 49 | + "format": "" |
| 50 | + }, |
| 51 | + { |
| 52 | + "name": "sourceOfFunds", |
| 53 | + "baseName": "sourceOfFunds", |
| 54 | + "type": "FundingInstrument.SourceOfFundsEnum", |
| 55 | + "format": "" |
| 56 | + } ]; |
| 57 | + |
| 58 | + static getAttributeTypeMap() { |
| 59 | + return FundingInstrument.attributeTypeMap; |
| 60 | + } |
| 61 | + |
| 62 | + public constructor() { |
| 63 | + } |
| 64 | +} |
| 65 | + |
| 66 | +export namespace FundingInstrument { |
| 67 | + export enum SourceOfFundsEnum { |
| 68 | + Debit = 'DEBIT', |
| 69 | + DepositAccount = 'DEPOSIT_ACCOUNT' |
| 70 | + } |
| 71 | +} |
0 commit comments