@channelpayments/node-sdk 1.28.2 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +12 -1
- package/dist/cjs/{src/apis → apis}/ChannelPaymentsApi.js +17 -7
- package/dist/cjs/models/AddressEntity1.d.ts +62 -0
- package/dist/cjs/models/AddressEntity1.js +63 -0
- package/dist/cjs/models/AmountRuleConditionEntity.d.ts +53 -0
- package/dist/cjs/models/AmountRuleConditionEntity.js +61 -0
- package/dist/cjs/{src/models → models}/BuyerEntity.d.ts +12 -0
- package/dist/cjs/{src/models → models}/BuyerEntity.js +4 -0
- package/dist/cjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
- package/dist/cjs/{src/models → models}/BuyerEntity1.js +5 -3
- package/dist/cjs/models/BuyerEntity1Address.d.ts +62 -0
- package/dist/cjs/models/BuyerEntity1Address.js +63 -0
- package/dist/cjs/models/CFeeRuleConditionEntity.d.ts +40 -0
- package/dist/cjs/models/CFeeRuleConditionEntity.js +57 -0
- package/dist/cjs/{src/models → models}/CardDetails.d.ts +6 -6
- package/dist/cjs/{src/models → models}/CardDetails.js +8 -8
- package/dist/cjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
- package/dist/cjs/models/CreateAmountRuleConditionDto.js +53 -0
- package/dist/cjs/models/CreateCFeeDto.d.ts +40 -0
- package/dist/cjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +12 -12
- package/dist/cjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
- package/dist/cjs/models/CreateCFeeRuleConditionDto.js +50 -0
- package/dist/{mjs/src → cjs}/models/CreateMerchantAccountDto.d.ts +48 -13
- package/dist/cjs/{src/models → models}/CreateMerchantAccountDto.js +41 -16
- package/dist/cjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/cjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +12 -12
- package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
- package/dist/cjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +121 -0
- package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
- package/dist/cjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +71 -0
- package/dist/{mjs/src → cjs}/models/CreateMerchantDto.d.ts +3 -3
- package/dist/cjs/{src/models → models}/CreateMerchantDto.js +3 -3
- package/dist/cjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowDto.js +61 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleDto.js +66 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +64 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +53 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
- package/dist/cjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +66 -0
- package/dist/cjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
- package/dist/cjs/models/CreateMetadataRuleConditionDto.js +63 -0
- package/dist/{mjs/src → cjs}/models/CreatePaymentMethodDto.d.ts +2 -1
- package/dist/cjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
- package/dist/cjs/models/CreateRuleConditionsDto.d.ts +41 -0
- package/dist/cjs/models/CreateRuleConditionsDto.js +53 -0
- package/dist/cjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
- package/dist/cjs/models/CreateRuleConditionsDtoAmount.js +53 -0
- package/dist/cjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
- package/dist/cjs/models/CreateRuleConditionsDtoCFee.js +50 -0
- package/dist/cjs/models/CreateRuleConnectorsDto.d.ts +52 -0
- package/dist/cjs/models/CreateRuleConnectorsDto.js +66 -0
- package/dist/cjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
- package/dist/cjs/{src/models → models}/CreateTransactionDto.js +4 -4
- package/dist/{mjs/src → cjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
- package/dist/cjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
- package/dist/cjs/models/CreateUserDto.d.ts +65 -0
- package/dist/cjs/models/CreateUserDto.js +69 -0
- package/dist/cjs/models/MerchantAccountEntity.d.ts +172 -0
- package/dist/cjs/{src/models → models}/MerchantAccountEntity.js +63 -18
- package/dist/cjs/models/MerchantAccountEntityCFee.d.ts +40 -0
- package/dist/cjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +12 -12
- package/dist/cjs/models/MerchantConnectorEntity.d.ts +92 -0
- package/dist/cjs/models/MerchantConnectorEntity.js +86 -0
- package/dist/cjs/{src/models → models}/MerchantEntity.d.ts +6 -0
- package/dist/cjs/{src/models → models}/MerchantEntity.js +3 -0
- package/dist/cjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
- package/dist/cjs/models/MerchantRoutingFlowEntity.js +70 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntity.js +76 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConditions.js +53 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
- package/dist/cjs/models/MerchantRoutingFlowRuleEntityConnectors.js +67 -0
- package/dist/cjs/models/MetadataRuleConditionEntity.d.ts +49 -0
- package/dist/cjs/models/MetadataRuleConditionEntity.js +63 -0
- package/dist/cjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
- package/dist/cjs/{src/models → models}/PaymentMethodDto.js +1 -2
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntity.d.ts +11 -8
- package/dist/cjs/{src/models → models}/PaymentMethodEntity.js +10 -7
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntity1.d.ts +27 -3
- package/dist/cjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
- package/dist/{mjs/src → cjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
- package/dist/cjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
- package/dist/cjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
- package/dist/cjs/models/PaymentMethodEntityCardDetails.js +67 -0
- package/dist/cjs/models/RuleConditionsEntity.d.ts +41 -0
- package/dist/cjs/models/RuleConditionsEntity.js +53 -0
- package/dist/cjs/models/RuleConditionsEntityAmount.d.ts +53 -0
- package/dist/cjs/models/RuleConditionsEntityAmount.js +61 -0
- package/dist/cjs/models/RuleConditionsEntityCfee.d.ts +40 -0
- package/dist/cjs/models/RuleConditionsEntityCfee.js +57 -0
- package/dist/cjs/models/RuleConnectorsEntity.d.ts +52 -0
- package/dist/cjs/models/RuleConnectorsEntity.js +67 -0
- package/dist/cjs/{src/models → models}/TransactionEntity.d.ts +37 -0
- package/dist/cjs/{src/models → models}/TransactionEntity.js +22 -2
- package/dist/cjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
- package/dist/{mjs/src → cjs}/models/UpdateCFeeDto.d.ts +4 -4
- package/dist/cjs/{src/models → models}/UpdateCFeeDto.js +4 -2
- package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
- package/dist/cjs/{src/models → models}/UpdateMerchantAccountDto.js +35 -10
- package/dist/cjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/cjs/models/UpdateMerchantAccountDtoCFee.js +57 -0
- package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/cjs/models/UpdateMerchantRoutingFlowRuleDto.js +64 -0
- package/dist/cjs/models/UpdateSelfDto.d.ts +75 -0
- package/dist/cjs/models/UpdateSelfDto.js +73 -0
- package/dist/cjs/models/UpdateUserDto.d.ts +81 -0
- package/dist/cjs/models/UpdateUserDto.js +76 -0
- package/dist/cjs/models/UserEntity.d.ts +99 -0
- package/dist/cjs/models/UserEntity.js +90 -0
- package/dist/cjs/{src/models → models}/index.d.ts +38 -9
- package/dist/cjs/{src/models → models}/index.js +38 -9
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.d.ts +12 -1
- package/dist/mjs/{src/apis → apis}/ChannelPaymentsApi.js +17 -7
- package/dist/mjs/models/AddressEntity1.d.ts +62 -0
- package/dist/mjs/models/AddressEntity1.js +56 -0
- package/dist/mjs/models/AmountRuleConditionEntity.d.ts +53 -0
- package/dist/mjs/models/AmountRuleConditionEntity.js +54 -0
- package/dist/mjs/{src/models → models}/BuyerEntity.d.ts +12 -0
- package/dist/mjs/{src/models → models}/BuyerEntity.js +4 -0
- package/dist/mjs/{src/models → models}/BuyerEntity1.d.ts +9 -3
- package/dist/mjs/{src/models → models}/BuyerEntity1.js +5 -3
- package/dist/mjs/models/BuyerEntity1Address.d.ts +62 -0
- package/dist/mjs/models/BuyerEntity1Address.js +56 -0
- package/dist/mjs/models/CFeeRuleConditionEntity.d.ts +40 -0
- package/dist/mjs/models/CFeeRuleConditionEntity.js +50 -0
- package/dist/mjs/{src/models → models}/CardDetails.d.ts +6 -6
- package/dist/mjs/{src/models → models}/CardDetails.js +7 -7
- package/dist/mjs/models/CreateAmountRuleConditionDto.d.ts +44 -0
- package/dist/mjs/models/CreateAmountRuleConditionDto.js +46 -0
- package/dist/mjs/models/CreateCFeeDto.d.ts +40 -0
- package/dist/mjs/{src/models/CFeeDto.js → models/CreateCFeeDto.js} +7 -7
- package/dist/mjs/models/CreateCFeeRuleConditionDto.d.ts +32 -0
- package/dist/mjs/models/CreateCFeeRuleConditionDto.js +43 -0
- package/dist/{cjs/src → mjs}/models/CreateMerchantAccountDto.d.ts +48 -13
- package/dist/mjs/{src/models → models}/CreateMerchantAccountDto.js +40 -15
- package/dist/mjs/models/CreateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/mjs/{src/models/CreateMerchantAccountDtoCfee.js → models/CreateMerchantAccountDtoCFee.js} +7 -7
- package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.d.ts +149 -0
- package/dist/mjs/models/CreateMerchantAccountWithoutMerchantIdDto.js +114 -0
- package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.d.ts +62 -0
- package/dist/mjs/models/CreateMerchantConnectorWithoutMerchantAccountIdDto.js +64 -0
- package/dist/{cjs/src → mjs}/models/CreateMerchantDto.d.ts +3 -3
- package/dist/mjs/{src/models → models}/CreateMerchantDto.js +3 -3
- package/dist/mjs/models/CreateMerchantRoutingFlowDto.d.ts +47 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowDto.js +54 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleDto.js +59 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.d.ts +54 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDto.js +57 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.d.ts +41 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConditions.js +46 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.d.ts +52 -0
- package/dist/mjs/models/CreateMerchantRoutingFlowRuleWithoutIdDtoConnectors.js +59 -0
- package/dist/mjs/models/CreateMetadataRuleConditionDto.d.ts +49 -0
- package/dist/mjs/models/CreateMetadataRuleConditionDto.js +56 -0
- package/dist/{cjs/src → mjs}/models/CreatePaymentMethodDto.d.ts +2 -1
- package/dist/mjs/{src/models → models}/CreatePaymentMethodDto.js +3 -3
- package/dist/mjs/models/CreateRuleConditionsDto.d.ts +41 -0
- package/dist/mjs/models/CreateRuleConditionsDto.js +46 -0
- package/dist/mjs/models/CreateRuleConditionsDtoAmount.d.ts +44 -0
- package/dist/mjs/models/CreateRuleConditionsDtoAmount.js +46 -0
- package/dist/mjs/models/CreateRuleConditionsDtoCFee.d.ts +32 -0
- package/dist/mjs/models/CreateRuleConditionsDtoCFee.js +43 -0
- package/dist/mjs/models/CreateRuleConnectorsDto.d.ts +52 -0
- package/dist/mjs/models/CreateRuleConnectorsDto.js +59 -0
- package/dist/mjs/{src/models → models}/CreateTransactionDto.d.ts +4 -4
- package/dist/mjs/{src/models → models}/CreateTransactionDto.js +4 -4
- package/dist/{cjs/src → mjs}/models/CreateTransactionDtoPaymentMethod.d.ts +0 -1
- package/dist/mjs/{src/models → models}/CreateTransactionDtoPaymentMethod.js +1 -2
- package/dist/mjs/models/CreateUserDto.d.ts +65 -0
- package/dist/mjs/models/CreateUserDto.js +62 -0
- package/dist/mjs/models/MerchantAccountEntity.d.ts +172 -0
- package/dist/mjs/models/MerchantAccountEntity.js +135 -0
- package/dist/mjs/models/MerchantAccountEntityCFee.d.ts +40 -0
- package/dist/mjs/{src/models/MerchantAccountEntityCfee.js → models/MerchantAccountEntityCFee.js} +7 -7
- package/dist/mjs/models/MerchantConnectorEntity.d.ts +92 -0
- package/dist/mjs/models/MerchantConnectorEntity.js +79 -0
- package/dist/mjs/{src/models → models}/MerchantEntity.d.ts +6 -0
- package/dist/mjs/{src/models → models}/MerchantEntity.js +3 -0
- package/dist/mjs/models/MerchantRoutingFlowEntity.d.ts +65 -0
- package/dist/mjs/models/MerchantRoutingFlowEntity.js +63 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntity.d.ts +78 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntity.js +69 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.d.ts +41 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConditions.js +46 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.d.ts +52 -0
- package/dist/mjs/models/MerchantRoutingFlowRuleEntityConnectors.js +60 -0
- package/dist/mjs/models/MetadataRuleConditionEntity.d.ts +49 -0
- package/dist/mjs/models/MetadataRuleConditionEntity.js +56 -0
- package/dist/mjs/{src/models → models}/PaymentMethodDto.d.ts +0 -1
- package/dist/mjs/{src/models → models}/PaymentMethodDto.js +1 -2
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntity.d.ts +11 -8
- package/dist/mjs/{src/models → models}/PaymentMethodEntity.js +10 -7
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntity1.d.ts +27 -3
- package/dist/mjs/{src/models → models}/PaymentMethodEntity1.js +11 -3
- package/dist/{cjs/src → mjs}/models/PaymentMethodEntityBuyer.d.ts +9 -3
- package/dist/mjs/{src/models → models}/PaymentMethodEntityBuyer.js +5 -3
- package/dist/mjs/models/PaymentMethodEntityCardDetails.d.ts +59 -0
- package/dist/mjs/{src/models/PaymentMethodEntityDetails.js → models/PaymentMethodEntityCardDetails.js} +13 -13
- package/dist/mjs/models/RuleConditionsEntity.d.ts +41 -0
- package/dist/mjs/models/RuleConditionsEntity.js +46 -0
- package/dist/mjs/models/RuleConditionsEntityAmount.d.ts +53 -0
- package/dist/mjs/models/RuleConditionsEntityAmount.js +54 -0
- package/dist/mjs/models/RuleConditionsEntityCfee.d.ts +40 -0
- package/dist/mjs/models/RuleConditionsEntityCfee.js +50 -0
- package/dist/mjs/models/RuleConnectorsEntity.d.ts +52 -0
- package/dist/mjs/models/RuleConnectorsEntity.js +60 -0
- package/dist/mjs/{src/models → models}/TransactionEntity.d.ts +37 -0
- package/dist/mjs/{src/models → models}/TransactionEntity.js +22 -2
- package/dist/mjs/{src/models → models}/UpdateBuyerDto.d.ts +1 -1
- package/dist/{cjs/src → mjs}/models/UpdateCFeeDto.d.ts +4 -4
- package/dist/mjs/{src/models → models}/UpdateCFeeDto.js +5 -3
- package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.d.ts +44 -9
- package/dist/mjs/{src/models → models}/UpdateMerchantAccountDto.js +34 -9
- package/dist/mjs/models/UpdateMerchantAccountDtoCFee.d.ts +40 -0
- package/dist/mjs/models/UpdateMerchantAccountDtoCFee.js +50 -0
- package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.d.ts +60 -0
- package/dist/mjs/models/UpdateMerchantRoutingFlowRuleDto.js +57 -0
- package/dist/mjs/models/UpdateSelfDto.d.ts +75 -0
- package/dist/mjs/models/UpdateSelfDto.js +66 -0
- package/dist/mjs/models/UpdateUserDto.d.ts +81 -0
- package/dist/mjs/models/UpdateUserDto.js +69 -0
- package/dist/mjs/models/UserEntity.d.ts +99 -0
- package/dist/mjs/models/UserEntity.js +83 -0
- package/dist/mjs/{src/models → models}/index.d.ts +38 -9
- package/dist/mjs/{src/models → models}/index.js +38 -9
- package/package.json +1 -1
- package/dist/cjs/src/models/CFeeDto.d.ts +0 -40
- package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.js +0 -58
- package/dist/cjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
- package/dist/cjs/src/models/CreateMerchantAccountsDto.js +0 -96
- package/dist/cjs/src/models/CreateMerchantGateway.d.ts +0 -41
- package/dist/cjs/src/models/CreateMerchantGateway.js +0 -58
- package/dist/cjs/src/models/MerchantAccountEntity.d.ts +0 -108
- package/dist/cjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
- package/dist/cjs/src/models/MerchantGatewayEntity.d.ts +0 -59
- package/dist/cjs/src/models/MerchantGatewayEntity.js +0 -67
- package/dist/cjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
- package/dist/cjs/src/models/PaymentMethodEntityDetails.js +0 -67
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -55
- package/dist/cjs/test.d.ts +0 -1
- package/dist/cjs/test.js +0 -57
- package/dist/mjs/src/models/CFeeDto.d.ts +0 -40
- package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.d.ts +0 -41
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.js +0 -51
- package/dist/mjs/src/models/CreateMerchantAccountsDto.d.ts +0 -114
- package/dist/mjs/src/models/CreateMerchantAccountsDto.js +0 -89
- package/dist/mjs/src/models/CreateMerchantGateway.d.ts +0 -41
- package/dist/mjs/src/models/CreateMerchantGateway.js +0 -51
- package/dist/mjs/src/models/MerchantAccountEntity.d.ts +0 -108
- package/dist/mjs/src/models/MerchantAccountEntity.js +0 -90
- package/dist/mjs/src/models/MerchantAccountEntityCfee.d.ts +0 -40
- package/dist/mjs/src/models/MerchantGatewayEntity.d.ts +0 -59
- package/dist/mjs/src/models/MerchantGatewayEntity.js +0 -60
- package/dist/mjs/src/models/PaymentMethodEntityDetails.d.ts +0 -59
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +0 -40
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.js +0 -48
- package/dist/mjs/test.d.ts +0 -1
- package/dist/mjs/test.js +0 -23
- /package/dist/cjs/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/cjs/{src/apis → apis}/index.js +0 -0
- /package/dist/cjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/cjs/{src/index.js → index.js} +0 -0
- /package/dist/cjs/{src/models → models}/AddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/AddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/AddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/AddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerAddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyerEntityAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/BuyersSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/CFeeEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CFeeEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CaptureTransactionDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/ErrorEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/ErrorEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantAddressEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/MerchantEntityAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/RefundTransactionDto.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDto.js +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
- /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/cjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
- /package/dist/cjs/{src/runtime.d.ts → runtime.d.ts} +0 -0
- /package/dist/cjs/{src/runtime.js → runtime.js} +0 -0
- /package/dist/mjs/{src/apis → apis}/index.d.ts +0 -0
- /package/dist/mjs/{src/apis → apis}/index.js +0 -0
- /package/dist/mjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/mjs/{src/index.js → index.js} +0 -0
- /package/dist/mjs/{src/models → models}/AddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/AddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/AddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/AddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerAddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerAddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntityAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyerEntityAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/BuyersSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/BuyersSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/CFeeEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CFeeEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/CaptureTransactionDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CaptureTransactionDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateBuyerDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/CreateMerchantDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/ErrorEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/ErrorEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantAddressEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantAddressEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantCredentialsEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/MerchantEntityAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/MerchantEntityAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/PaymentMethodsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/PaymentsBuyerEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/RefundTransactionDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/RefundTransactionDto.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionRefundsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/TransactionsSearchEntity.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateBuyerDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantAddressDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDto.js +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/UpdateMerchantDtoAddress.js +0 -0
- /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.d.ts +0 -0
- /package/dist/mjs/{src/models → models}/ValidateMerchantCredentialsDto.js +0 -0
- /package/dist/mjs/{src/runtime.d.ts → runtime.d.ts} +0 -0
- /package/dist/mjs/{src/runtime.js → runtime.js} +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { removeNullUndefined } from '../runtime';
|
|
10
|
+
import { MerchantRoutingFlowRuleEntityFromJSON, MerchantRoutingFlowRuleEntityToJSON, } from './MerchantRoutingFlowRuleEntity';
|
|
11
|
+
/**
|
|
12
|
+
* @export
|
|
13
|
+
*/
|
|
14
|
+
export const MerchantRoutingFlowEntityMethodEnum = {
|
|
15
|
+
Card: 'CARD',
|
|
16
|
+
Ach: 'ACH'
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the MerchantRoutingFlowEntity interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfMerchantRoutingFlowEntity(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "routingFlowId" in value;
|
|
24
|
+
isInstance = isInstance && "merchantId" in value;
|
|
25
|
+
isInstance = isInstance && "method" in value;
|
|
26
|
+
isInstance = isInstance && "routingFlowRules" in value;
|
|
27
|
+
isInstance = isInstance && "createdAt" in value;
|
|
28
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
export function MerchantRoutingFlowEntityFromJSON(json) {
|
|
32
|
+
return MerchantRoutingFlowEntityFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function MerchantRoutingFlowEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
const typed = {
|
|
39
|
+
'routingFlowId': json['routingFlowId'],
|
|
40
|
+
'merchantId': json['merchantId'],
|
|
41
|
+
'method': json['method'],
|
|
42
|
+
'routingFlowRules': (json['routingFlowRules'].map(MerchantRoutingFlowRuleEntityFromJSON)),
|
|
43
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
44
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
45
|
+
};
|
|
46
|
+
return removeNullUndefined(typed);
|
|
47
|
+
}
|
|
48
|
+
export function MerchantRoutingFlowEntityToJSON(value) {
|
|
49
|
+
if (value === undefined) {
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
if (value === null) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'routingFlowId': value.routingFlowId,
|
|
57
|
+
'merchantId': value.merchantId,
|
|
58
|
+
'method': value.method,
|
|
59
|
+
'routingFlowRules': (value.routingFlowRules.map(MerchantRoutingFlowRuleEntityToJSON)),
|
|
60
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
61
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { MerchantRoutingFlowRuleEntityConditions } from './MerchantRoutingFlowRuleEntityConditions';
|
|
8
|
+
import type { MerchantRoutingFlowRuleEntityConnectors } from './MerchantRoutingFlowRuleEntityConnectors';
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @interface MerchantRoutingFlowRuleEntity
|
|
13
|
+
*/
|
|
14
|
+
export interface MerchantRoutingFlowRuleEntity {
|
|
15
|
+
/**
|
|
16
|
+
* The id of the routing flow rule
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
19
|
+
*/
|
|
20
|
+
routingFlowRuleId: string;
|
|
21
|
+
/**
|
|
22
|
+
* The id of the routing flow
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
25
|
+
*/
|
|
26
|
+
routingFlowId: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the rule
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* The action type of the rule
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
37
|
+
*/
|
|
38
|
+
actionType: MerchantRoutingFlowRuleEntityActionTypeEnum;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {MerchantRoutingFlowRuleEntityConditions}
|
|
42
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
43
|
+
*/
|
|
44
|
+
conditions: MerchantRoutingFlowRuleEntityConditions;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {MerchantRoutingFlowRuleEntityConnectors}
|
|
48
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
49
|
+
*/
|
|
50
|
+
connectors?: MerchantRoutingFlowRuleEntityConnectors;
|
|
51
|
+
/**
|
|
52
|
+
* The date the record was created
|
|
53
|
+
* @type {Date}
|
|
54
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
55
|
+
*/
|
|
56
|
+
createdAt: Date;
|
|
57
|
+
/**
|
|
58
|
+
* The date the record was updated
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof MerchantRoutingFlowRuleEntity
|
|
61
|
+
*/
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
export declare const MerchantRoutingFlowRuleEntityActionTypeEnum: {
|
|
68
|
+
readonly Route: "route";
|
|
69
|
+
readonly Decline: "decline";
|
|
70
|
+
};
|
|
71
|
+
export type MerchantRoutingFlowRuleEntityActionTypeEnum = typeof MerchantRoutingFlowRuleEntityActionTypeEnum[keyof typeof MerchantRoutingFlowRuleEntityActionTypeEnum];
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the MerchantRoutingFlowRuleEntity interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfMerchantRoutingFlowRuleEntity(value: object): boolean;
|
|
76
|
+
export declare function MerchantRoutingFlowRuleEntityFromJSON(json: any): MerchantRoutingFlowRuleEntity;
|
|
77
|
+
export declare function MerchantRoutingFlowRuleEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantRoutingFlowRuleEntity;
|
|
78
|
+
export declare function MerchantRoutingFlowRuleEntityToJSON(value?: MerchantRoutingFlowRuleEntity | null): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
+
import { MerchantRoutingFlowRuleEntityConditionsFromJSON, MerchantRoutingFlowRuleEntityConditionsToJSON, } from './MerchantRoutingFlowRuleEntityConditions';
|
|
11
|
+
import { MerchantRoutingFlowRuleEntityConnectorsFromJSON, MerchantRoutingFlowRuleEntityConnectorsToJSON, } from './MerchantRoutingFlowRuleEntityConnectors';
|
|
12
|
+
/**
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export const MerchantRoutingFlowRuleEntityActionTypeEnum = {
|
|
16
|
+
Route: 'route',
|
|
17
|
+
Decline: 'decline'
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the MerchantRoutingFlowRuleEntity interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfMerchantRoutingFlowRuleEntity(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "routingFlowRuleId" in value;
|
|
25
|
+
isInstance = isInstance && "routingFlowId" in value;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "actionType" in value;
|
|
28
|
+
isInstance = isInstance && "conditions" in value;
|
|
29
|
+
isInstance = isInstance && "createdAt" in value;
|
|
30
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
export function MerchantRoutingFlowRuleEntityFromJSON(json) {
|
|
34
|
+
return MerchantRoutingFlowRuleEntityFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function MerchantRoutingFlowRuleEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
const typed = {
|
|
41
|
+
'routingFlowRuleId': json['routingFlowRuleId'],
|
|
42
|
+
'routingFlowId': json['routingFlowId'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'actionType': json['actionType'],
|
|
45
|
+
'conditions': MerchantRoutingFlowRuleEntityConditionsFromJSON(json['conditions']),
|
|
46
|
+
'connectors': !exists(json, 'connectors') ? undefined : MerchantRoutingFlowRuleEntityConnectorsFromJSON(json['connectors']),
|
|
47
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
48
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
49
|
+
};
|
|
50
|
+
return removeNullUndefined(typed);
|
|
51
|
+
}
|
|
52
|
+
export function MerchantRoutingFlowRuleEntityToJSON(value) {
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'routingFlowRuleId': value.routingFlowRuleId,
|
|
61
|
+
'routingFlowId': value.routingFlowId,
|
|
62
|
+
'name': value.name,
|
|
63
|
+
'actionType': value.actionType,
|
|
64
|
+
'conditions': MerchantRoutingFlowRuleEntityConditionsToJSON(value.conditions),
|
|
65
|
+
'connectors': MerchantRoutingFlowRuleEntityConnectorsToJSON(value.connectors),
|
|
66
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
67
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { MetadataRuleConditionEntity } from './MetadataRuleConditionEntity';
|
|
8
|
+
import type { RuleConditionsEntityAmount } from './RuleConditionsEntityAmount';
|
|
9
|
+
import type { RuleConditionsEntityCfee } from './RuleConditionsEntityCfee';
|
|
10
|
+
/**
|
|
11
|
+
* The conditions for the rule
|
|
12
|
+
* @export
|
|
13
|
+
* @interface MerchantRoutingFlowRuleEntityConditions
|
|
14
|
+
*/
|
|
15
|
+
export interface MerchantRoutingFlowRuleEntityConditions {
|
|
16
|
+
/**
|
|
17
|
+
* The metadata condition for the rule
|
|
18
|
+
* @type {Array<MetadataRuleConditionEntity>}
|
|
19
|
+
* @memberof MerchantRoutingFlowRuleEntityConditions
|
|
20
|
+
*/
|
|
21
|
+
metadata?: Array<MetadataRuleConditionEntity>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {RuleConditionsEntityAmount}
|
|
25
|
+
* @memberof MerchantRoutingFlowRuleEntityConditions
|
|
26
|
+
*/
|
|
27
|
+
amount?: RuleConditionsEntityAmount;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {RuleConditionsEntityCfee}
|
|
31
|
+
* @memberof MerchantRoutingFlowRuleEntityConditions
|
|
32
|
+
*/
|
|
33
|
+
cfee?: RuleConditionsEntityCfee;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the MerchantRoutingFlowRuleEntityConditions interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfMerchantRoutingFlowRuleEntityConditions(value: object): boolean;
|
|
39
|
+
export declare function MerchantRoutingFlowRuleEntityConditionsFromJSON(json: any): MerchantRoutingFlowRuleEntityConditions;
|
|
40
|
+
export declare function MerchantRoutingFlowRuleEntityConditionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantRoutingFlowRuleEntityConditions;
|
|
41
|
+
export declare function MerchantRoutingFlowRuleEntityConditionsToJSON(value?: MerchantRoutingFlowRuleEntityConditions | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
+
import { MetadataRuleConditionEntityFromJSON, MetadataRuleConditionEntityToJSON, } from './MetadataRuleConditionEntity';
|
|
11
|
+
import { RuleConditionsEntityAmountFromJSON, RuleConditionsEntityAmountToJSON, } from './RuleConditionsEntityAmount';
|
|
12
|
+
import { RuleConditionsEntityCfeeFromJSON, RuleConditionsEntityCfeeToJSON, } from './RuleConditionsEntityCfee';
|
|
13
|
+
/**
|
|
14
|
+
* Check if a given object implements the MerchantRoutingFlowRuleEntityConditions interface.
|
|
15
|
+
*/
|
|
16
|
+
export function instanceOfMerchantRoutingFlowRuleEntityConditions(value) {
|
|
17
|
+
let isInstance = true;
|
|
18
|
+
return isInstance;
|
|
19
|
+
}
|
|
20
|
+
export function MerchantRoutingFlowRuleEntityConditionsFromJSON(json) {
|
|
21
|
+
return MerchantRoutingFlowRuleEntityConditionsFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function MerchantRoutingFlowRuleEntityConditionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
const typed = {
|
|
28
|
+
'metadata': !exists(json, 'metadata') ? undefined : (json['metadata'].map(MetadataRuleConditionEntityFromJSON)),
|
|
29
|
+
'amount': !exists(json, 'amount') ? undefined : RuleConditionsEntityAmountFromJSON(json['amount']),
|
|
30
|
+
'cfee': !exists(json, 'cfee') ? undefined : RuleConditionsEntityCfeeFromJSON(json['cfee']),
|
|
31
|
+
};
|
|
32
|
+
return removeNullUndefined(typed);
|
|
33
|
+
}
|
|
34
|
+
export function MerchantRoutingFlowRuleEntityConditionsToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'metadata': value.metadata === undefined ? undefined : (value.metadata.map(MetadataRuleConditionEntityToJSON)),
|
|
43
|
+
'amount': RuleConditionsEntityAmountToJSON(value.amount),
|
|
44
|
+
'cfee': RuleConditionsEntityCfeeToJSON(value.cfee),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The connectors for the rule
|
|
9
|
+
* @export
|
|
10
|
+
* @interface MerchantRoutingFlowRuleEntityConnectors
|
|
11
|
+
*/
|
|
12
|
+
export interface MerchantRoutingFlowRuleEntityConnectors {
|
|
13
|
+
/**
|
|
14
|
+
* The primary connector for the rule
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof MerchantRoutingFlowRuleEntityConnectors
|
|
17
|
+
*/
|
|
18
|
+
primaryAccount: MerchantRoutingFlowRuleEntityConnectorsPrimaryAccountEnum;
|
|
19
|
+
/**
|
|
20
|
+
* The fallback connectors for the rule
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof MerchantRoutingFlowRuleEntityConnectors
|
|
23
|
+
*/
|
|
24
|
+
fallbackAccounts?: Array<MerchantRoutingFlowRuleEntityConnectorsFallbackAccountsEnum>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export declare const MerchantRoutingFlowRuleEntityConnectorsPrimaryAccountEnum: {
|
|
30
|
+
readonly Epay: "EPAY";
|
|
31
|
+
readonly Nmi: "NMI";
|
|
32
|
+
readonly AuthorizeNet: "AUTHORIZE_NET";
|
|
33
|
+
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
34
|
+
};
|
|
35
|
+
export type MerchantRoutingFlowRuleEntityConnectorsPrimaryAccountEnum = typeof MerchantRoutingFlowRuleEntityConnectorsPrimaryAccountEnum[keyof typeof MerchantRoutingFlowRuleEntityConnectorsPrimaryAccountEnum];
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export declare const MerchantRoutingFlowRuleEntityConnectorsFallbackAccountsEnum: {
|
|
40
|
+
readonly Epay: "EPAY";
|
|
41
|
+
readonly Nmi: "NMI";
|
|
42
|
+
readonly AuthorizeNet: "AUTHORIZE_NET";
|
|
43
|
+
readonly ChannelPayments: "CHANNEL_PAYMENTS";
|
|
44
|
+
};
|
|
45
|
+
export type MerchantRoutingFlowRuleEntityConnectorsFallbackAccountsEnum = typeof MerchantRoutingFlowRuleEntityConnectorsFallbackAccountsEnum[keyof typeof MerchantRoutingFlowRuleEntityConnectorsFallbackAccountsEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the MerchantRoutingFlowRuleEntityConnectors interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfMerchantRoutingFlowRuleEntityConnectors(value: object): boolean;
|
|
50
|
+
export declare function MerchantRoutingFlowRuleEntityConnectorsFromJSON(json: any): MerchantRoutingFlowRuleEntityConnectors;
|
|
51
|
+
export declare function MerchantRoutingFlowRuleEntityConnectorsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantRoutingFlowRuleEntityConnectors;
|
|
52
|
+
export declare function MerchantRoutingFlowRuleEntityConnectorsToJSON(value?: MerchantRoutingFlowRuleEntityConnectors | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
export const MerchantRoutingFlowRuleEntityConnectorsPrimaryAccountEnum = {
|
|
14
|
+
Epay: 'EPAY',
|
|
15
|
+
Nmi: 'NMI',
|
|
16
|
+
AuthorizeNet: 'AUTHORIZE_NET',
|
|
17
|
+
ChannelPayments: 'CHANNEL_PAYMENTS'
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export const MerchantRoutingFlowRuleEntityConnectorsFallbackAccountsEnum = {
|
|
23
|
+
Epay: 'EPAY',
|
|
24
|
+
Nmi: 'NMI',
|
|
25
|
+
AuthorizeNet: 'AUTHORIZE_NET',
|
|
26
|
+
ChannelPayments: 'CHANNEL_PAYMENTS'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the MerchantRoutingFlowRuleEntityConnectors interface.
|
|
30
|
+
*/
|
|
31
|
+
export function instanceOfMerchantRoutingFlowRuleEntityConnectors(value) {
|
|
32
|
+
let isInstance = true;
|
|
33
|
+
isInstance = isInstance && "primaryAccount" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
export function MerchantRoutingFlowRuleEntityConnectorsFromJSON(json) {
|
|
37
|
+
return MerchantRoutingFlowRuleEntityConnectorsFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function MerchantRoutingFlowRuleEntityConnectorsFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if ((json === undefined) || (json === null)) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
const typed = {
|
|
44
|
+
'primaryAccount': json['primaryAccount'],
|
|
45
|
+
'fallbackAccounts': !exists(json, 'fallbackAccounts') ? undefined : json['fallbackAccounts'],
|
|
46
|
+
};
|
|
47
|
+
return removeNullUndefined(typed);
|
|
48
|
+
}
|
|
49
|
+
export function MerchantRoutingFlowRuleEntityConnectorsToJSON(value) {
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'primaryAccount': value.primaryAccount,
|
|
58
|
+
'fallbackAccounts': value.fallbackAccounts,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @interface MetadataRuleConditionEntity
|
|
11
|
+
*/
|
|
12
|
+
export interface MetadataRuleConditionEntity {
|
|
13
|
+
/**
|
|
14
|
+
* The metadata key for the rule
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof MetadataRuleConditionEntity
|
|
17
|
+
*/
|
|
18
|
+
key: string;
|
|
19
|
+
/**
|
|
20
|
+
* The metadata operator for the rule
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MetadataRuleConditionEntity
|
|
23
|
+
*/
|
|
24
|
+
operator: MetadataRuleConditionEntityOperatorEnum;
|
|
25
|
+
/**
|
|
26
|
+
* The metadata value for the rule
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof MetadataRuleConditionEntity
|
|
29
|
+
*/
|
|
30
|
+
value: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const MetadataRuleConditionEntityOperatorEnum: {
|
|
36
|
+
readonly Includes: "includes";
|
|
37
|
+
readonly Excludes: "excludes";
|
|
38
|
+
readonly LessThan: "lessThan";
|
|
39
|
+
readonly GreaterThan: "greaterThan";
|
|
40
|
+
readonly Between: "between";
|
|
41
|
+
};
|
|
42
|
+
export type MetadataRuleConditionEntityOperatorEnum = typeof MetadataRuleConditionEntityOperatorEnum[keyof typeof MetadataRuleConditionEntityOperatorEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MetadataRuleConditionEntity interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMetadataRuleConditionEntity(value: object): boolean;
|
|
47
|
+
export declare function MetadataRuleConditionEntityFromJSON(json: any): MetadataRuleConditionEntity;
|
|
48
|
+
export declare function MetadataRuleConditionEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetadataRuleConditionEntity;
|
|
49
|
+
export declare function MetadataRuleConditionEntityToJSON(value?: MetadataRuleConditionEntity | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { removeNullUndefined } from '../runtime';
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
export const MetadataRuleConditionEntityOperatorEnum = {
|
|
14
|
+
Includes: 'includes',
|
|
15
|
+
Excludes: 'excludes',
|
|
16
|
+
LessThan: 'lessThan',
|
|
17
|
+
GreaterThan: 'greaterThan',
|
|
18
|
+
Between: 'between'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the MetadataRuleConditionEntity interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfMetadataRuleConditionEntity(value) {
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "key" in value;
|
|
26
|
+
isInstance = isInstance && "operator" in value;
|
|
27
|
+
isInstance = isInstance && "value" in value;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
export function MetadataRuleConditionEntityFromJSON(json) {
|
|
31
|
+
return MetadataRuleConditionEntityFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function MetadataRuleConditionEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
const typed = {
|
|
38
|
+
'key': json['key'],
|
|
39
|
+
'operator': json['operator'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
return removeNullUndefined(typed);
|
|
43
|
+
}
|
|
44
|
+
export function MetadataRuleConditionEntityToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'key': value.key,
|
|
53
|
+
'operator': value.operator,
|
|
54
|
+
'value': value.value,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -64,7 +64,6 @@ export interface PaymentMethodDto {
|
|
|
64
64
|
*/
|
|
65
65
|
export declare const PaymentMethodDtoMethodEnum: {
|
|
66
66
|
readonly Card: "CARD";
|
|
67
|
-
readonly Id: "ID";
|
|
68
67
|
};
|
|
69
68
|
export type PaymentMethodDtoMethodEnum = typeof PaymentMethodDtoMethodEnum[keyof typeof PaymentMethodDtoMethodEnum];
|
|
70
69
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
import type { PaymentMethodEntityBuyer } from './PaymentMethodEntityBuyer';
|
|
8
|
-
import type {
|
|
8
|
+
import type { PaymentMethodEntityCardDetails } from './PaymentMethodEntityCardDetails';
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
11
|
* @export
|
|
@@ -31,17 +31,17 @@ export interface PaymentMethodEntity {
|
|
|
31
31
|
*/
|
|
32
32
|
status: PaymentMethodEntityStatusEnum;
|
|
33
33
|
/**
|
|
34
|
-
* The
|
|
34
|
+
* The payment method type
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof PaymentMethodEntity
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
method: PaymentMethodEntityMethodEnum;
|
|
39
39
|
/**
|
|
40
|
-
* The payment method
|
|
40
|
+
* The external payment method ID to associate with your records
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof PaymentMethodEntity
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
externalPaymentMethodId?: string;
|
|
45
45
|
/**
|
|
46
46
|
* The currency to use with this payment method
|
|
47
47
|
* @type {string}
|
|
@@ -56,10 +56,10 @@ export interface PaymentMethodEntity {
|
|
|
56
56
|
countryCode?: string;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {PaymentMethodEntityCardDetails}
|
|
60
60
|
* @memberof PaymentMethodEntity
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
cardDetails?: PaymentMethodEntityCardDetails;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {PaymentMethodEntityBuyer}
|
|
@@ -105,7 +105,8 @@ export type PaymentMethodEntityStatusEnum = typeof PaymentMethodEntityStatusEnum
|
|
|
105
105
|
* @export
|
|
106
106
|
*/
|
|
107
107
|
export declare const PaymentMethodEntityMethodEnum: {
|
|
108
|
-
readonly Card: "
|
|
108
|
+
readonly Card: "CARD";
|
|
109
|
+
readonly Ach: "ACH";
|
|
109
110
|
};
|
|
110
111
|
export type PaymentMethodEntityMethodEnum = typeof PaymentMethodEntityMethodEnum[keyof typeof PaymentMethodEntityMethodEnum];
|
|
111
112
|
/**
|
|
@@ -113,6 +114,8 @@ export type PaymentMethodEntityMethodEnum = typeof PaymentMethodEntityMethodEnum
|
|
|
113
114
|
*/
|
|
114
115
|
export declare const PaymentMethodEntityCurrencyEnum: {
|
|
115
116
|
readonly Usd: "USD";
|
|
117
|
+
readonly Aud: "AUD";
|
|
118
|
+
readonly Cad: "CAD";
|
|
116
119
|
};
|
|
117
120
|
export type PaymentMethodEntityCurrencyEnum = typeof PaymentMethodEntityCurrencyEnum[keyof typeof PaymentMethodEntityCurrencyEnum];
|
|
118
121
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { exists, removeNullUndefined } from '../runtime';
|
|
10
10
|
import { PaymentMethodEntityBuyerFromJSON, PaymentMethodEntityBuyerToJSON, } from './PaymentMethodEntityBuyer';
|
|
11
|
-
import {
|
|
11
|
+
import { PaymentMethodEntityCardDetailsFromJSON, PaymentMethodEntityCardDetailsToJSON, } from './PaymentMethodEntityCardDetails';
|
|
12
12
|
/**
|
|
13
13
|
* @export
|
|
14
14
|
*/
|
|
@@ -22,13 +22,16 @@ export const PaymentMethodEntityStatusEnum = {
|
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
24
|
export const PaymentMethodEntityMethodEnum = {
|
|
25
|
-
Card: '
|
|
25
|
+
Card: 'CARD',
|
|
26
|
+
Ach: 'ACH'
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
29
|
* @export
|
|
29
30
|
*/
|
|
30
31
|
export const PaymentMethodEntityCurrencyEnum = {
|
|
31
|
-
Usd: 'USD'
|
|
32
|
+
Usd: 'USD',
|
|
33
|
+
Aud: 'AUD',
|
|
34
|
+
Cad: 'CAD'
|
|
32
35
|
};
|
|
33
36
|
/**
|
|
34
37
|
* Check if a given object implements the PaymentMethodEntity interface.
|
|
@@ -52,11 +55,11 @@ export function PaymentMethodEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
55
|
'paymentMethodId': json['paymentMethodId'],
|
|
53
56
|
'merchantId': json['merchantId'],
|
|
54
57
|
'status': json['status'],
|
|
55
|
-
'externalPaymentMethodId': !exists(json, 'externalPaymentMethodId') ? undefined : json['externalPaymentMethodId'],
|
|
56
58
|
'method': json['method'],
|
|
59
|
+
'externalPaymentMethodId': !exists(json, 'externalPaymentMethodId') ? undefined : json['externalPaymentMethodId'],
|
|
57
60
|
'currency': !exists(json, 'currency') ? undefined : json['currency'],
|
|
58
61
|
'countryCode': !exists(json, 'countryCode') ? undefined : json['countryCode'],
|
|
59
|
-
'
|
|
62
|
+
'cardDetails': !exists(json, 'cardDetails') ? undefined : PaymentMethodEntityCardDetailsFromJSON(json['cardDetails']),
|
|
60
63
|
'buyer': !exists(json, 'buyer') ? undefined : PaymentMethodEntityBuyerFromJSON(json['buyer']),
|
|
61
64
|
'buyerId': !exists(json, 'buyerId') ? undefined : json['buyerId'],
|
|
62
65
|
'externalBuyerId': !exists(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
|
|
@@ -76,11 +79,11 @@ export function PaymentMethodEntityToJSON(value) {
|
|
|
76
79
|
'paymentMethodId': value.paymentMethodId,
|
|
77
80
|
'merchantId': value.merchantId,
|
|
78
81
|
'status': value.status,
|
|
79
|
-
'externalPaymentMethodId': value.externalPaymentMethodId,
|
|
80
82
|
'method': value.method,
|
|
83
|
+
'externalPaymentMethodId': value.externalPaymentMethodId,
|
|
81
84
|
'currency': value.currency,
|
|
82
85
|
'countryCode': value.countryCode,
|
|
83
|
-
'
|
|
86
|
+
'cardDetails': PaymentMethodEntityCardDetailsToJSON(value.cardDetails),
|
|
84
87
|
'buyer': PaymentMethodEntityBuyerToJSON(value.buyer),
|
|
85
88
|
'buyerId': value.buyerId,
|
|
86
89
|
'externalBuyerId': value.externalBuyerId,
|