Skip to content

Commit 3eb657c

Browse files
feat: Add create/update card; PayoutItemAmountBreakdowns (#32)
Co-authored-by: ProcessOut Fountain <internal@processout.com>
1 parent e044360 commit 3eb657c

52 files changed

Lines changed: 5530 additions & 93 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/cardcontact.d.ts

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
import ProcessOut = require('./processout');
2+
declare class CardContact {
3+
private client;
4+
/**
5+
* Address line of the card holder
6+
* @type {string}
7+
*/
8+
private address1;
9+
/**
10+
* Secondary address line of the card holder
11+
* @type {string}
12+
*/
13+
private address2;
14+
/**
15+
* City of the card holder
16+
* @type {string}
17+
*/
18+
private city;
19+
/**
20+
* State of the card holder
21+
* @type {string}
22+
*/
23+
private state;
24+
/**
25+
* Country code of the card holder (ISO-3166, 2 characters format)
26+
* @type {string}
27+
*/
28+
private countryCode;
29+
/**
30+
* ZIP code of the card holder
31+
* @type {string}
32+
*/
33+
private zip;
34+
/**
35+
* CardContact constructor
36+
* @param {ProcessOut} client
37+
* @param {array} prefill (optional)
38+
*/
39+
constructor(client: ProcessOut, prefill: CardContact);
40+
getProcessOutObjectClass(): string;
41+
/**
42+
* Get Address1
43+
* Address line of the card holder
44+
* @return {string}
45+
*/
46+
getAddress1(): string;
47+
/**
48+
* Set Address1
49+
* Address line of the card holder
50+
* @param {string} val
51+
* @return {CardContact}
52+
*/
53+
setAddress1(val: string): CardContact;
54+
/**
55+
* Get Address2
56+
* Secondary address line of the card holder
57+
* @return {string}
58+
*/
59+
getAddress2(): string;
60+
/**
61+
* Set Address2
62+
* Secondary address line of the card holder
63+
* @param {string} val
64+
* @return {CardContact}
65+
*/
66+
setAddress2(val: string): CardContact;
67+
/**
68+
* Get City
69+
* City of the card holder
70+
* @return {string}
71+
*/
72+
getCity(): string;
73+
/**
74+
* Set City
75+
* City of the card holder
76+
* @param {string} val
77+
* @return {CardContact}
78+
*/
79+
setCity(val: string): CardContact;
80+
/**
81+
* Get State
82+
* State of the card holder
83+
* @return {string}
84+
*/
85+
getState(): string;
86+
/**
87+
* Set State
88+
* State of the card holder
89+
* @param {string} val
90+
* @return {CardContact}
91+
*/
92+
setState(val: string): CardContact;
93+
/**
94+
* Get CountryCode
95+
* Country code of the card holder (ISO-3166, 2 characters format)
96+
* @return {string}
97+
*/
98+
getCountryCode(): string;
99+
/**
100+
* Set CountryCode
101+
* Country code of the card holder (ISO-3166, 2 characters format)
102+
* @param {string} val
103+
* @return {CardContact}
104+
*/
105+
setCountryCode(val: string): CardContact;
106+
/**
107+
* Get Zip
108+
* ZIP code of the card holder
109+
* @return {string}
110+
*/
111+
getZip(): string;
112+
/**
113+
* Set Zip
114+
* ZIP code of the card holder
115+
* @param {string} val
116+
* @return {CardContact}
117+
*/
118+
setZip(val: string): CardContact;
119+
/**
120+
* Fills the current object with the new values pulled from the data
121+
* @param {array} data
122+
* @return {CardContact}
123+
*/
124+
fillWithData(data: any): CardContact;
125+
/**
126+
* Implements a JSON custom marshaller
127+
* @return {any}
128+
*/
129+
toJSON(): any;
130+
}
131+
export = CardContact;
132+
//# sourceMappingURL=cardcontact.d.ts.map

lib/cardcontact.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cardcontact.js

Lines changed: 195 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cardcontact.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)