-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xendit-devx-bot
committed
Mar 8, 2024
1 parent
06a1626
commit f2aeb00
Showing
23 changed files
with
349 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ChannelProperties | ||
|
||
An object representing channel-specific properties. | ||
|
||
## Properties | ||
|
||
| Name | Type | Required | Description | Examples | | ||
|------------|:-------------:|:-------------:|-------------|:-------------:| | ||
| **cards** |[ChannelPropertiesCards](ChannelPropertiesCards.md) | | | | | | ||
|
||
|
||
|
||
[[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ChannelPropertiesCards | ||
|
||
An object representing properties specific for credit card payment method. | ||
|
||
## Properties | ||
|
||
| Name | Type | Required | Description | Examples | | ||
|------------|:-------------:|:-------------:|-------------|:-------------:| | ||
| **allowedBins** |string[] | | An array of allowed BINs (6 or 8 digits) for credit card payments. | | | | ||
|
||
|
||
|
||
[[Back to README]](../../README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* NOTE: This file is auto generated by Xendit. | ||
* Do not edit the class manually. | ||
* Improvements? Share your ideas at https://github.com/xendit/xendit-node | ||
*/ | ||
|
||
import { exists, mapValues } from '../../runtime'; | ||
import type { ChannelPropertiesCards } from './ChannelPropertiesCards'; | ||
import { | ||
ChannelPropertiesCardsFromJSON, | ||
ChannelPropertiesCardsFromJSONTyped, | ||
ChannelPropertiesCardsToJSON, | ||
} from './ChannelPropertiesCards'; | ||
|
||
/** | ||
* An object representing channel-specific properties. | ||
* @export | ||
* @interface ChannelProperties | ||
*/ | ||
export interface ChannelProperties { | ||
/** | ||
* | ||
* @type {ChannelPropertiesCards} | ||
* @memberof ChannelProperties | ||
*/ | ||
cards?: ChannelPropertiesCards; | ||
} | ||
|
||
/** | ||
* Check if a given object implements the ChannelProperties interface. | ||
*/ | ||
export function instanceOfChannelProperties(value: object): boolean { | ||
let isInstance = true; | ||
|
||
return isInstance; | ||
} | ||
|
||
export function ChannelPropertiesFromJSON(json: any): ChannelProperties { | ||
return ChannelPropertiesFromJSONTyped(json, false); | ||
} | ||
|
||
export function ChannelPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChannelProperties { | ||
if ((json === undefined) || (json === null)) { | ||
return json; | ||
} | ||
return { | ||
|
||
'cards': !exists(json, 'cards') ? undefined : ChannelPropertiesCardsFromJSON(json['cards']), | ||
}; | ||
} | ||
|
||
export function ChannelPropertiesToJSON(value?: ChannelProperties | null): any { | ||
if (value === undefined) { | ||
return undefined; | ||
} | ||
if (value === null) { | ||
return null; | ||
} | ||
return { | ||
|
||
'cards': ChannelPropertiesCardsToJSON(value.cards), | ||
}; | ||
} | ||
|
Oops, something went wrong.