@channelpayments/node-sdk 1.24.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/README.md +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/src/apis/ChannelPaymentsApi.d.ts +281 -0
- package/dist/cjs/src/apis/ChannelPaymentsApi.js +1184 -0
- package/dist/cjs/src/apis/index.d.ts +1 -0
- package/dist/cjs/src/apis/index.js +19 -0
- package/dist/cjs/src/index.d.ts +3 -0
- package/dist/cjs/src/index.js +21 -0
- package/dist/cjs/src/models/AddressDto.d.ts +62 -0
- package/dist/cjs/src/models/AddressDto.js +63 -0
- package/dist/cjs/src/models/AddressEntity.d.ts +62 -0
- package/dist/cjs/src/models/AddressEntity.js +63 -0
- package/dist/cjs/src/models/BuyerAddressEntity.d.ts +62 -0
- package/dist/cjs/src/models/BuyerAddressEntity.js +58 -0
- package/dist/cjs/src/models/BuyerEntity.d.ts +81 -0
- package/dist/cjs/src/models/BuyerEntity.js +71 -0
- package/dist/cjs/src/models/BuyerEntity1.d.ts +69 -0
- package/dist/cjs/src/models/BuyerEntity1.js +67 -0
- package/dist/cjs/src/models/BuyerEntityAddress.d.ts +62 -0
- package/dist/cjs/src/models/BuyerEntityAddress.js +63 -0
- package/dist/cjs/src/models/BuyersSearchEntity.d.ts +51 -0
- package/dist/cjs/src/models/BuyersSearchEntity.js +58 -0
- package/dist/cjs/src/models/CFeeDto.d.ts +40 -0
- package/dist/cjs/src/models/CFeeDto.js +57 -0
- package/dist/cjs/src/models/CFeeEntity.d.ts +40 -0
- package/dist/cjs/src/models/CFeeEntity.js +57 -0
- package/dist/cjs/src/models/CaptureTransactionDto.d.ts +32 -0
- package/dist/cjs/src/models/CaptureTransactionDto.js +50 -0
- package/dist/cjs/src/models/CardDetails.d.ts +59 -0
- package/dist/cjs/src/models/CardDetails.js +67 -0
- package/dist/cjs/src/models/CreateBuyerDto.d.ts +57 -0
- package/dist/cjs/src/models/CreateBuyerDto.js +61 -0
- package/dist/cjs/src/models/CreateBuyerDtoAddress.d.ts +62 -0
- package/dist/cjs/src/models/CreateBuyerDtoAddress.js +63 -0
- package/dist/cjs/src/models/CreateMerchantAccountDto.d.ts +120 -0
- package/dist/cjs/src/models/CreateMerchantAccountDto.js +99 -0
- package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.d.ts +40 -0
- package/dist/cjs/src/models/CreateMerchantAccountDtoCfee.js +57 -0
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.d.ts +41 -0
- package/dist/cjs/src/models/CreateMerchantAccountDtoGateways.js +58 -0
- package/dist/cjs/src/models/CreateMerchantAccountsDto.d.ts +114 -0
- package/dist/cjs/src/models/CreateMerchantAccountsDto.js +96 -0
- package/dist/cjs/src/models/CreateMerchantAddressDto.d.ts +68 -0
- package/dist/cjs/src/models/CreateMerchantAddressDto.js +65 -0
- package/dist/cjs/src/models/CreateMerchantCredentialsDto.d.ts +32 -0
- package/dist/cjs/src/models/CreateMerchantCredentialsDto.js +50 -0
- package/dist/cjs/src/models/CreateMerchantDto.d.ts +70 -0
- package/dist/cjs/src/models/CreateMerchantDto.js +66 -0
- package/dist/cjs/src/models/CreateMerchantDtoAddress.d.ts +68 -0
- package/dist/cjs/src/models/CreateMerchantDtoAddress.js +65 -0
- package/dist/cjs/src/models/CreateMerchantGateway.d.ts +41 -0
- package/dist/cjs/src/models/CreateMerchantGateway.js +58 -0
- package/dist/cjs/src/models/CreatePaymentMethodDto.d.ts +63 -0
- package/dist/cjs/src/models/CreatePaymentMethodDto.js +65 -0
- package/dist/cjs/src/models/CreateTransactionDto.d.ts +80 -0
- package/dist/cjs/src/models/CreateTransactionDto.js +77 -0
- package/dist/cjs/src/models/CreateTransactionDtoPaymentMethod.d.ts +76 -0
- package/dist/cjs/src/models/CreateTransactionDtoPaymentMethod.js +68 -0
- package/dist/cjs/src/models/ErrorEntity.d.ts +56 -0
- package/dist/cjs/src/models/ErrorEntity.js +56 -0
- package/dist/cjs/src/models/MerchantAccountEntity.d.ts +108 -0
- package/dist/cjs/src/models/MerchantAccountEntity.js +97 -0
- package/dist/cjs/src/models/MerchantAccountEntityCfee.d.ts +40 -0
- package/dist/cjs/src/models/MerchantAccountEntityCfee.js +57 -0
- package/dist/cjs/src/models/MerchantAddressEntity.d.ts +68 -0
- package/dist/cjs/src/models/MerchantAddressEntity.js +65 -0
- package/dist/cjs/src/models/MerchantCredentialsEntity.d.ts +74 -0
- package/dist/cjs/src/models/MerchantCredentialsEntity.js +70 -0
- package/dist/cjs/src/models/MerchantEntity.d.ts +88 -0
- package/dist/cjs/src/models/MerchantEntity.js +75 -0
- package/dist/cjs/src/models/MerchantEntityAddress.d.ts +68 -0
- package/dist/cjs/src/models/MerchantEntityAddress.js +65 -0
- package/dist/cjs/src/models/MerchantGatewayEntity.d.ts +59 -0
- package/dist/cjs/src/models/MerchantGatewayEntity.js +67 -0
- package/dist/cjs/src/models/PaymentMethodDto.d.ts +76 -0
- package/dist/cjs/src/models/PaymentMethodDto.js +68 -0
- package/dist/cjs/src/models/PaymentMethodEntity.d.ts +124 -0
- package/dist/cjs/src/models/PaymentMethodEntity.js +97 -0
- package/dist/cjs/src/models/PaymentMethodEntity1.d.ts +89 -0
- package/dist/cjs/src/models/PaymentMethodEntity1.js +74 -0
- package/dist/cjs/src/models/PaymentMethodEntityBuyer.d.ts +69 -0
- package/dist/cjs/src/models/PaymentMethodEntityBuyer.js +67 -0
- package/dist/cjs/src/models/PaymentMethodEntityDetails.d.ts +59 -0
- package/dist/cjs/src/models/PaymentMethodEntityDetails.js +67 -0
- package/dist/cjs/src/models/PaymentMethodsSearchEntity.d.ts +51 -0
- package/dist/cjs/src/models/PaymentMethodsSearchEntity.js +58 -0
- package/dist/cjs/src/models/PaymentsBuyerEntity.d.ts +69 -0
- package/dist/cjs/src/models/PaymentsBuyerEntity.js +62 -0
- package/dist/cjs/src/models/RefundTransactionDto.d.ts +32 -0
- package/dist/cjs/src/models/RefundTransactionDto.js +50 -0
- package/dist/cjs/src/models/TransactionEntity.d.ts +198 -0
- package/dist/cjs/src/models/TransactionEntity.js +128 -0
- package/dist/cjs/src/models/TransactionRefundEntity.d.ts +85 -0
- package/dist/cjs/src/models/TransactionRefundEntity.js +80 -0
- package/dist/cjs/src/models/TransactionRefundsSearchEntity.d.ts +51 -0
- package/dist/cjs/src/models/TransactionRefundsSearchEntity.js +58 -0
- package/dist/cjs/src/models/TransactionsSearchEntity.d.ts +51 -0
- package/dist/cjs/src/models/TransactionsSearchEntity.js +58 -0
- package/dist/cjs/src/models/UpdateAddressDto.d.ts +62 -0
- package/dist/cjs/src/models/UpdateAddressDto.js +58 -0
- package/dist/cjs/src/models/UpdateBuyerDto.d.ts +63 -0
- package/dist/cjs/src/models/UpdateBuyerDto.js +60 -0
- package/dist/cjs/src/models/UpdateBuyerDtoAddress.d.ts +62 -0
- package/dist/cjs/src/models/UpdateBuyerDtoAddress.js +58 -0
- package/dist/cjs/src/models/UpdateCFeeDto.d.ts +40 -0
- package/dist/cjs/src/models/UpdateCFeeDto.js +55 -0
- package/dist/cjs/src/models/UpdateMerchantAccountDto.d.ts +107 -0
- package/dist/cjs/src/models/UpdateMerchantAccountDto.js +89 -0
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +40 -0
- package/dist/cjs/src/models/UpdateMerchantAccountDtoCfee.js +55 -0
- package/dist/cjs/src/models/UpdateMerchantAddressDto.d.ts +68 -0
- package/dist/cjs/src/models/UpdateMerchantAddressDto.js +60 -0
- package/dist/cjs/src/models/UpdateMerchantCredentialsDto.d.ts +32 -0
- package/dist/cjs/src/models/UpdateMerchantCredentialsDto.js +49 -0
- package/dist/cjs/src/models/UpdateMerchantDto.d.ts +81 -0
- package/dist/cjs/src/models/UpdateMerchantDto.js +66 -0
- package/dist/cjs/src/models/UpdateMerchantDtoAddress.d.ts +68 -0
- package/dist/cjs/src/models/UpdateMerchantDtoAddress.js +60 -0
- package/dist/cjs/src/models/ValidateMerchantCredentialsDto.d.ts +26 -0
- package/dist/cjs/src/models/ValidateMerchantCredentialsDto.js +47 -0
- package/dist/cjs/src/models/index.d.ts +56 -0
- package/dist/cjs/src/models/index.js +74 -0
- package/dist/cjs/src/runtime.d.ts +118 -0
- package/dist/cjs/src/runtime.js +262 -0
- package/dist/cjs/test.d.ts +1 -0
- package/dist/cjs/test.js +81 -0
- package/dist/mjs/package.json +3 -0
- package/dist/mjs/src/apis/ChannelPaymentsApi.d.ts +281 -0
- package/dist/mjs/src/apis/ChannelPaymentsApi.js +1110 -0
- package/dist/mjs/src/apis/index.d.ts +1 -0
- package/dist/mjs/src/apis/index.js +3 -0
- package/dist/mjs/src/index.d.ts +3 -0
- package/dist/mjs/src/index.js +5 -0
- package/dist/mjs/src/models/AddressDto.d.ts +62 -0
- package/dist/mjs/src/models/AddressDto.js +56 -0
- package/dist/mjs/src/models/AddressEntity.d.ts +62 -0
- package/dist/mjs/src/models/AddressEntity.js +56 -0
- package/dist/mjs/src/models/BuyerAddressEntity.d.ts +62 -0
- package/dist/mjs/src/models/BuyerAddressEntity.js +51 -0
- package/dist/mjs/src/models/BuyerEntity.d.ts +81 -0
- package/dist/mjs/src/models/BuyerEntity.js +64 -0
- package/dist/mjs/src/models/BuyerEntity1.d.ts +69 -0
- package/dist/mjs/src/models/BuyerEntity1.js +60 -0
- package/dist/mjs/src/models/BuyerEntityAddress.d.ts +62 -0
- package/dist/mjs/src/models/BuyerEntityAddress.js +56 -0
- package/dist/mjs/src/models/BuyersSearchEntity.d.ts +51 -0
- package/dist/mjs/src/models/BuyersSearchEntity.js +51 -0
- package/dist/mjs/src/models/CFeeDto.d.ts +40 -0
- package/dist/mjs/src/models/CFeeDto.js +50 -0
- package/dist/mjs/src/models/CFeeEntity.d.ts +40 -0
- package/dist/mjs/src/models/CFeeEntity.js +50 -0
- package/dist/mjs/src/models/CaptureTransactionDto.d.ts +32 -0
- package/dist/mjs/src/models/CaptureTransactionDto.js +43 -0
- package/dist/mjs/src/models/CardDetails.d.ts +59 -0
- package/dist/mjs/src/models/CardDetails.js +60 -0
- package/dist/mjs/src/models/CreateBuyerDto.d.ts +57 -0
- package/dist/mjs/src/models/CreateBuyerDto.js +54 -0
- package/dist/mjs/src/models/CreateBuyerDtoAddress.d.ts +62 -0
- package/dist/mjs/src/models/CreateBuyerDtoAddress.js +56 -0
- package/dist/mjs/src/models/CreateMerchantAccountDto.d.ts +120 -0
- package/dist/mjs/src/models/CreateMerchantAccountDto.js +92 -0
- package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.d.ts +40 -0
- package/dist/mjs/src/models/CreateMerchantAccountDtoCfee.js +50 -0
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.d.ts +41 -0
- package/dist/mjs/src/models/CreateMerchantAccountDtoGateways.js +51 -0
- package/dist/mjs/src/models/CreateMerchantAccountsDto.d.ts +114 -0
- package/dist/mjs/src/models/CreateMerchantAccountsDto.js +89 -0
- package/dist/mjs/src/models/CreateMerchantAddressDto.d.ts +68 -0
- package/dist/mjs/src/models/CreateMerchantAddressDto.js +58 -0
- package/dist/mjs/src/models/CreateMerchantCredentialsDto.d.ts +32 -0
- package/dist/mjs/src/models/CreateMerchantCredentialsDto.js +43 -0
- package/dist/mjs/src/models/CreateMerchantDto.d.ts +70 -0
- package/dist/mjs/src/models/CreateMerchantDto.js +59 -0
- package/dist/mjs/src/models/CreateMerchantDtoAddress.d.ts +68 -0
- package/dist/mjs/src/models/CreateMerchantDtoAddress.js +58 -0
- package/dist/mjs/src/models/CreateMerchantGateway.d.ts +41 -0
- package/dist/mjs/src/models/CreateMerchantGateway.js +51 -0
- package/dist/mjs/src/models/CreatePaymentMethodDto.d.ts +63 -0
- package/dist/mjs/src/models/CreatePaymentMethodDto.js +58 -0
- package/dist/mjs/src/models/CreateTransactionDto.d.ts +80 -0
- package/dist/mjs/src/models/CreateTransactionDto.js +70 -0
- package/dist/mjs/src/models/CreateTransactionDtoPaymentMethod.d.ts +76 -0
- package/dist/mjs/src/models/CreateTransactionDtoPaymentMethod.js +61 -0
- package/dist/mjs/src/models/ErrorEntity.d.ts +56 -0
- package/dist/mjs/src/models/ErrorEntity.js +49 -0
- package/dist/mjs/src/models/MerchantAccountEntity.d.ts +108 -0
- package/dist/mjs/src/models/MerchantAccountEntity.js +90 -0
- package/dist/mjs/src/models/MerchantAccountEntityCfee.d.ts +40 -0
- package/dist/mjs/src/models/MerchantAccountEntityCfee.js +50 -0
- package/dist/mjs/src/models/MerchantAddressEntity.d.ts +68 -0
- package/dist/mjs/src/models/MerchantAddressEntity.js +58 -0
- package/dist/mjs/src/models/MerchantCredentialsEntity.d.ts +74 -0
- package/dist/mjs/src/models/MerchantCredentialsEntity.js +63 -0
- package/dist/mjs/src/models/MerchantEntity.d.ts +88 -0
- package/dist/mjs/src/models/MerchantEntity.js +68 -0
- package/dist/mjs/src/models/MerchantEntityAddress.d.ts +68 -0
- package/dist/mjs/src/models/MerchantEntityAddress.js +58 -0
- package/dist/mjs/src/models/MerchantGatewayEntity.d.ts +59 -0
- package/dist/mjs/src/models/MerchantGatewayEntity.js +60 -0
- package/dist/mjs/src/models/PaymentMethodDto.d.ts +76 -0
- package/dist/mjs/src/models/PaymentMethodDto.js +61 -0
- package/dist/mjs/src/models/PaymentMethodEntity.d.ts +124 -0
- package/dist/mjs/src/models/PaymentMethodEntity.js +90 -0
- package/dist/mjs/src/models/PaymentMethodEntity1.d.ts +89 -0
- package/dist/mjs/src/models/PaymentMethodEntity1.js +67 -0
- package/dist/mjs/src/models/PaymentMethodEntityBuyer.d.ts +69 -0
- package/dist/mjs/src/models/PaymentMethodEntityBuyer.js +60 -0
- package/dist/mjs/src/models/PaymentMethodEntityDetails.d.ts +59 -0
- package/dist/mjs/src/models/PaymentMethodEntityDetails.js +60 -0
- package/dist/mjs/src/models/PaymentMethodsSearchEntity.d.ts +51 -0
- package/dist/mjs/src/models/PaymentMethodsSearchEntity.js +51 -0
- package/dist/mjs/src/models/PaymentsBuyerEntity.d.ts +69 -0
- package/dist/mjs/src/models/PaymentsBuyerEntity.js +55 -0
- package/dist/mjs/src/models/RefundTransactionDto.d.ts +32 -0
- package/dist/mjs/src/models/RefundTransactionDto.js +43 -0
- package/dist/mjs/src/models/TransactionEntity.d.ts +198 -0
- package/dist/mjs/src/models/TransactionEntity.js +121 -0
- package/dist/mjs/src/models/TransactionRefundEntity.d.ts +85 -0
- package/dist/mjs/src/models/TransactionRefundEntity.js +73 -0
- package/dist/mjs/src/models/TransactionRefundsSearchEntity.d.ts +51 -0
- package/dist/mjs/src/models/TransactionRefundsSearchEntity.js +51 -0
- package/dist/mjs/src/models/TransactionsSearchEntity.d.ts +51 -0
- package/dist/mjs/src/models/TransactionsSearchEntity.js +51 -0
- package/dist/mjs/src/models/UpdateAddressDto.d.ts +62 -0
- package/dist/mjs/src/models/UpdateAddressDto.js +51 -0
- package/dist/mjs/src/models/UpdateBuyerDto.d.ts +63 -0
- package/dist/mjs/src/models/UpdateBuyerDto.js +53 -0
- package/dist/mjs/src/models/UpdateBuyerDtoAddress.d.ts +62 -0
- package/dist/mjs/src/models/UpdateBuyerDtoAddress.js +51 -0
- package/dist/mjs/src/models/UpdateCFeeDto.d.ts +40 -0
- package/dist/mjs/src/models/UpdateCFeeDto.js +48 -0
- package/dist/mjs/src/models/UpdateMerchantAccountDto.d.ts +107 -0
- package/dist/mjs/src/models/UpdateMerchantAccountDto.js +82 -0
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.d.ts +40 -0
- package/dist/mjs/src/models/UpdateMerchantAccountDtoCfee.js +48 -0
- package/dist/mjs/src/models/UpdateMerchantAddressDto.d.ts +68 -0
- package/dist/mjs/src/models/UpdateMerchantAddressDto.js +53 -0
- package/dist/mjs/src/models/UpdateMerchantCredentialsDto.d.ts +32 -0
- package/dist/mjs/src/models/UpdateMerchantCredentialsDto.js +42 -0
- package/dist/mjs/src/models/UpdateMerchantDto.d.ts +81 -0
- package/dist/mjs/src/models/UpdateMerchantDto.js +59 -0
- package/dist/mjs/src/models/UpdateMerchantDtoAddress.d.ts +68 -0
- package/dist/mjs/src/models/UpdateMerchantDtoAddress.js +53 -0
- package/dist/mjs/src/models/ValidateMerchantCredentialsDto.d.ts +26 -0
- package/dist/mjs/src/models/ValidateMerchantCredentialsDto.js +40 -0
- package/dist/mjs/src/models/index.d.ts +56 -0
- package/dist/mjs/src/models/index.js +58 -0
- package/dist/mjs/src/runtime.d.ts +118 -0
- package/dist/mjs/src/runtime.js +234 -0
- package/dist/mjs/test.d.ts +1 -0
- package/dist/mjs/test.js +47 -0
- package/package.json +32 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { BuyerEntityAddress } from './BuyerEntityAddress';
|
|
8
|
+
/**
|
|
9
|
+
* The buyer entity
|
|
10
|
+
* @export
|
|
11
|
+
* @interface PaymentMethodEntityBuyer
|
|
12
|
+
*/
|
|
13
|
+
export interface PaymentMethodEntityBuyer {
|
|
14
|
+
/**
|
|
15
|
+
* The buyer ID
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof PaymentMethodEntityBuyer
|
|
18
|
+
*/
|
|
19
|
+
buyerId: string;
|
|
20
|
+
/**
|
|
21
|
+
* The merchant ID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof PaymentMethodEntityBuyer
|
|
24
|
+
*/
|
|
25
|
+
merchantId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The given name
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PaymentMethodEntityBuyer
|
|
30
|
+
*/
|
|
31
|
+
givenName: string;
|
|
32
|
+
/**
|
|
33
|
+
* The family name
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PaymentMethodEntityBuyer
|
|
36
|
+
*/
|
|
37
|
+
familyName: string;
|
|
38
|
+
/**
|
|
39
|
+
* The email address
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PaymentMethodEntityBuyer
|
|
42
|
+
*/
|
|
43
|
+
email: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {BuyerEntityAddress}
|
|
47
|
+
* @memberof PaymentMethodEntityBuyer
|
|
48
|
+
*/
|
|
49
|
+
address: BuyerEntityAddress;
|
|
50
|
+
/**
|
|
51
|
+
* The phone number
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PaymentMethodEntityBuyer
|
|
54
|
+
*/
|
|
55
|
+
phoneNumber?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The external buyer ID
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PaymentMethodEntityBuyer
|
|
60
|
+
*/
|
|
61
|
+
externalBuyerId?: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the PaymentMethodEntityBuyer interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfPaymentMethodEntityBuyer(value: object): boolean;
|
|
67
|
+
export declare function PaymentMethodEntityBuyerFromJSON(json: any): PaymentMethodEntityBuyer;
|
|
68
|
+
export declare function PaymentMethodEntityBuyerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodEntityBuyer;
|
|
69
|
+
export declare function PaymentMethodEntityBuyerToJSON(value?: PaymentMethodEntityBuyer | 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
|
+
import { BuyerEntityAddressFromJSON, BuyerEntityAddressToJSON, } from './BuyerEntityAddress';
|
|
11
|
+
/**
|
|
12
|
+
* Check if a given object implements the PaymentMethodEntityBuyer interface.
|
|
13
|
+
*/
|
|
14
|
+
export function instanceOfPaymentMethodEntityBuyer(value) {
|
|
15
|
+
let isInstance = true;
|
|
16
|
+
isInstance = isInstance && "buyerId" in value;
|
|
17
|
+
isInstance = isInstance && "merchantId" in value;
|
|
18
|
+
isInstance = isInstance && "givenName" in value;
|
|
19
|
+
isInstance = isInstance && "familyName" in value;
|
|
20
|
+
isInstance = isInstance && "email" in value;
|
|
21
|
+
isInstance = isInstance && "address" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function PaymentMethodEntityBuyerFromJSON(json) {
|
|
25
|
+
return PaymentMethodEntityBuyerFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PaymentMethodEntityBuyerFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
const typed = {
|
|
32
|
+
'buyerId': json['buyerId'],
|
|
33
|
+
'merchantId': json['merchantId'],
|
|
34
|
+
'givenName': json['givenName'],
|
|
35
|
+
'familyName': json['familyName'],
|
|
36
|
+
'email': json['email'],
|
|
37
|
+
'address': BuyerEntityAddressFromJSON(json['address']),
|
|
38
|
+
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
39
|
+
'externalBuyerId': !exists(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
|
|
40
|
+
};
|
|
41
|
+
return removeNullUndefined(typed);
|
|
42
|
+
}
|
|
43
|
+
export function PaymentMethodEntityBuyerToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'buyerId': value.buyerId,
|
|
52
|
+
'merchantId': value.merchantId,
|
|
53
|
+
'givenName': value.givenName,
|
|
54
|
+
'familyName': value.familyName,
|
|
55
|
+
'email': value.email,
|
|
56
|
+
'address': BuyerEntityAddressToJSON(value.address),
|
|
57
|
+
'phoneNumber': value.phoneNumber,
|
|
58
|
+
'externalBuyerId': value.externalBuyerId,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The card details
|
|
9
|
+
* @export
|
|
10
|
+
* @interface PaymentMethodEntityDetails
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentMethodEntityDetails {
|
|
13
|
+
/**
|
|
14
|
+
* The card type
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof PaymentMethodEntityDetails
|
|
17
|
+
*/
|
|
18
|
+
type: PaymentMethodEntityDetailsTypeEnum;
|
|
19
|
+
/**
|
|
20
|
+
* The card BIN
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PaymentMethodEntityDetails
|
|
23
|
+
*/
|
|
24
|
+
bin: string;
|
|
25
|
+
/**
|
|
26
|
+
* The card scheme
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PaymentMethodEntityDetails
|
|
29
|
+
*/
|
|
30
|
+
scheme: string;
|
|
31
|
+
/**
|
|
32
|
+
* The last 4 digits of the card
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PaymentMethodEntityDetails
|
|
35
|
+
*/
|
|
36
|
+
label: string;
|
|
37
|
+
/**
|
|
38
|
+
* The card expiration date
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PaymentMethodEntityDetails
|
|
41
|
+
*/
|
|
42
|
+
expirationDate: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const PaymentMethodEntityDetailsTypeEnum: {
|
|
48
|
+
readonly Credit: "credit";
|
|
49
|
+
readonly Debit: "debit";
|
|
50
|
+
readonly Prepaid: "prepaid";
|
|
51
|
+
};
|
|
52
|
+
export type PaymentMethodEntityDetailsTypeEnum = typeof PaymentMethodEntityDetailsTypeEnum[keyof typeof PaymentMethodEntityDetailsTypeEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the PaymentMethodEntityDetails interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfPaymentMethodEntityDetails(value: object): boolean;
|
|
57
|
+
export declare function PaymentMethodEntityDetailsFromJSON(json: any): PaymentMethodEntityDetails;
|
|
58
|
+
export declare function PaymentMethodEntityDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodEntityDetails;
|
|
59
|
+
export declare function PaymentMethodEntityDetailsToJSON(value?: PaymentMethodEntityDetails | 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 { removeNullUndefined } from '../runtime';
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
export const PaymentMethodEntityDetailsTypeEnum = {
|
|
14
|
+
Credit: 'credit',
|
|
15
|
+
Debit: 'debit',
|
|
16
|
+
Prepaid: 'prepaid'
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PaymentMethodEntityDetails interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfPaymentMethodEntityDetails(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "type" in value;
|
|
24
|
+
isInstance = isInstance && "bin" in value;
|
|
25
|
+
isInstance = isInstance && "scheme" in value;
|
|
26
|
+
isInstance = isInstance && "label" in value;
|
|
27
|
+
isInstance = isInstance && "expirationDate" in value;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
export function PaymentMethodEntityDetailsFromJSON(json) {
|
|
31
|
+
return PaymentMethodEntityDetailsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function PaymentMethodEntityDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
const typed = {
|
|
38
|
+
'type': json['type'],
|
|
39
|
+
'bin': json['bin'],
|
|
40
|
+
'scheme': json['scheme'],
|
|
41
|
+
'label': json['label'],
|
|
42
|
+
'expirationDate': json['expirationDate'],
|
|
43
|
+
};
|
|
44
|
+
return removeNullUndefined(typed);
|
|
45
|
+
}
|
|
46
|
+
export function PaymentMethodEntityDetailsToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'type': value.type,
|
|
55
|
+
'bin': value.bin,
|
|
56
|
+
'scheme': value.scheme,
|
|
57
|
+
'label': value.label,
|
|
58
|
+
'expirationDate': value.expirationDate,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { PaymentMethodEntity } from './PaymentMethodEntity';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @export
|
|
11
|
+
* @interface PaymentMethodsSearchEntity
|
|
12
|
+
*/
|
|
13
|
+
export interface PaymentMethodsSearchEntity {
|
|
14
|
+
/**
|
|
15
|
+
* The previous cursor
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof PaymentMethodsSearchEntity
|
|
18
|
+
*/
|
|
19
|
+
prevCursor: string;
|
|
20
|
+
/**
|
|
21
|
+
* The list of queried buyers
|
|
22
|
+
* @type {Array<PaymentMethodEntity>}
|
|
23
|
+
* @memberof PaymentMethodsSearchEntity
|
|
24
|
+
*/
|
|
25
|
+
paymentMethods: Array<PaymentMethodEntity>;
|
|
26
|
+
/**
|
|
27
|
+
* The number of records returned
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof PaymentMethodsSearchEntity
|
|
30
|
+
*/
|
|
31
|
+
limit: number;
|
|
32
|
+
/**
|
|
33
|
+
* The next cursor
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PaymentMethodsSearchEntity
|
|
36
|
+
*/
|
|
37
|
+
nextCursor?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The page number
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof PaymentMethodsSearchEntity
|
|
42
|
+
*/
|
|
43
|
+
page?: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the PaymentMethodsSearchEntity interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfPaymentMethodsSearchEntity(value: object): boolean;
|
|
49
|
+
export declare function PaymentMethodsSearchEntityFromJSON(json: any): PaymentMethodsSearchEntity;
|
|
50
|
+
export declare function PaymentMethodsSearchEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodsSearchEntity;
|
|
51
|
+
export declare function PaymentMethodsSearchEntityToJSON(value?: PaymentMethodsSearchEntity | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { PaymentMethodEntityFromJSON, PaymentMethodEntityToJSON, } from './PaymentMethodEntity';
|
|
11
|
+
/**
|
|
12
|
+
* Check if a given object implements the PaymentMethodsSearchEntity interface.
|
|
13
|
+
*/
|
|
14
|
+
export function instanceOfPaymentMethodsSearchEntity(value) {
|
|
15
|
+
let isInstance = true;
|
|
16
|
+
isInstance = isInstance && "prevCursor" in value;
|
|
17
|
+
isInstance = isInstance && "paymentMethods" in value;
|
|
18
|
+
isInstance = isInstance && "limit" in value;
|
|
19
|
+
return isInstance;
|
|
20
|
+
}
|
|
21
|
+
export function PaymentMethodsSearchEntityFromJSON(json) {
|
|
22
|
+
return PaymentMethodsSearchEntityFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PaymentMethodsSearchEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if ((json === undefined) || (json === null)) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
const typed = {
|
|
29
|
+
'prevCursor': json['prevCursor'],
|
|
30
|
+
'paymentMethods': (json['paymentMethods'].map(PaymentMethodEntityFromJSON)),
|
|
31
|
+
'limit': json['limit'],
|
|
32
|
+
'nextCursor': !exists(json, 'nextCursor') ? undefined : json['nextCursor'],
|
|
33
|
+
'page': !exists(json, 'page') ? undefined : json['page'],
|
|
34
|
+
};
|
|
35
|
+
return removeNullUndefined(typed);
|
|
36
|
+
}
|
|
37
|
+
export function PaymentMethodsSearchEntityToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'prevCursor': value.prevCursor,
|
|
46
|
+
'paymentMethods': (value.paymentMethods.map(PaymentMethodEntityToJSON)),
|
|
47
|
+
'limit': value.limit,
|
|
48
|
+
'nextCursor': value.nextCursor,
|
|
49
|
+
'page': value.page,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { BuyerAddressEntity } from './BuyerAddressEntity';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @export
|
|
11
|
+
* @interface PaymentsBuyerEntity
|
|
12
|
+
*/
|
|
13
|
+
export interface PaymentsBuyerEntity {
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof PaymentsBuyerEntity
|
|
18
|
+
*/
|
|
19
|
+
buyerId: string;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof PaymentsBuyerEntity
|
|
24
|
+
*/
|
|
25
|
+
externalBuyerId?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof PaymentsBuyerEntity
|
|
30
|
+
*/
|
|
31
|
+
displayName?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof PaymentsBuyerEntity
|
|
36
|
+
*/
|
|
37
|
+
givenName?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PaymentsBuyerEntity
|
|
42
|
+
*/
|
|
43
|
+
familyName?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PaymentsBuyerEntity
|
|
48
|
+
*/
|
|
49
|
+
email?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PaymentsBuyerEntity
|
|
54
|
+
*/
|
|
55
|
+
phoneNumber?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {BuyerAddressEntity}
|
|
59
|
+
* @memberof PaymentsBuyerEntity
|
|
60
|
+
*/
|
|
61
|
+
address?: BuyerAddressEntity;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the PaymentsBuyerEntity interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfPaymentsBuyerEntity(value: object): boolean;
|
|
67
|
+
export declare function PaymentsBuyerEntityFromJSON(json: any): PaymentsBuyerEntity;
|
|
68
|
+
export declare function PaymentsBuyerEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentsBuyerEntity;
|
|
69
|
+
export declare function PaymentsBuyerEntityToJSON(value?: PaymentsBuyerEntity | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { BuyerAddressEntityFromJSON, BuyerAddressEntityToJSON, } from './BuyerAddressEntity';
|
|
11
|
+
/**
|
|
12
|
+
* Check if a given object implements the PaymentsBuyerEntity interface.
|
|
13
|
+
*/
|
|
14
|
+
export function instanceOfPaymentsBuyerEntity(value) {
|
|
15
|
+
let isInstance = true;
|
|
16
|
+
isInstance = isInstance && "buyerId" in value;
|
|
17
|
+
return isInstance;
|
|
18
|
+
}
|
|
19
|
+
export function PaymentsBuyerEntityFromJSON(json) {
|
|
20
|
+
return PaymentsBuyerEntityFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
export function PaymentsBuyerEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
const typed = {
|
|
27
|
+
'buyerId': json['buyerId'],
|
|
28
|
+
'externalBuyerId': !exists(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
|
|
29
|
+
'displayName': !exists(json, 'displayName') ? undefined : json['displayName'],
|
|
30
|
+
'givenName': !exists(json, 'givenName') ? undefined : json['givenName'],
|
|
31
|
+
'familyName': !exists(json, 'familyName') ? undefined : json['familyName'],
|
|
32
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
33
|
+
'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
|
|
34
|
+
'address': !exists(json, 'address') ? undefined : BuyerAddressEntityFromJSON(json['address']),
|
|
35
|
+
};
|
|
36
|
+
return removeNullUndefined(typed);
|
|
37
|
+
}
|
|
38
|
+
export function PaymentsBuyerEntityToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'buyerId': value.buyerId,
|
|
47
|
+
'externalBuyerId': value.externalBuyerId,
|
|
48
|
+
'displayName': value.displayName,
|
|
49
|
+
'givenName': value.givenName,
|
|
50
|
+
'familyName': value.familyName,
|
|
51
|
+
'email': value.email,
|
|
52
|
+
'phoneNumber': value.phoneNumber,
|
|
53
|
+
'address': BuyerAddressEntityToJSON(value.address),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 RefundTransactionDto
|
|
11
|
+
*/
|
|
12
|
+
export interface RefundTransactionDto {
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @type {number}
|
|
16
|
+
* @memberof RefundTransactionDto
|
|
17
|
+
*/
|
|
18
|
+
refundAmount: number;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RefundTransactionDto
|
|
23
|
+
*/
|
|
24
|
+
transactionId: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the RefundTransactionDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfRefundTransactionDto(value: object): boolean;
|
|
30
|
+
export declare function RefundTransactionDtoFromJSON(json: any): RefundTransactionDto;
|
|
31
|
+
export declare function RefundTransactionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundTransactionDto;
|
|
32
|
+
export declare function RefundTransactionDtoToJSON(value?: RefundTransactionDto | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the RefundTransactionDto interface.
|
|
12
|
+
*/
|
|
13
|
+
export function instanceOfRefundTransactionDto(value) {
|
|
14
|
+
let isInstance = true;
|
|
15
|
+
isInstance = isInstance && "refundAmount" in value;
|
|
16
|
+
isInstance = isInstance && "transactionId" in value;
|
|
17
|
+
return isInstance;
|
|
18
|
+
}
|
|
19
|
+
export function RefundTransactionDtoFromJSON(json) {
|
|
20
|
+
return RefundTransactionDtoFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
export function RefundTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
const typed = {
|
|
27
|
+
'refundAmount': json['refundAmount'],
|
|
28
|
+
'transactionId': json['transactionId'],
|
|
29
|
+
};
|
|
30
|
+
return removeNullUndefined(typed);
|
|
31
|
+
}
|
|
32
|
+
export function RefundTransactionDtoToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'refundAmount': value.refundAmount,
|
|
41
|
+
'transactionId': value.transactionId,
|
|
42
|
+
};
|
|
43
|
+
}
|