Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions lib/balances.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ declare class Balances {
* @type {any}
*/
private vouchers;
/**
* Available balance of the customer
* @type {p.Balance}
*/
private availableBalance;
/**
* Customer action to be performed, such as redirecting to a URL
* @type {p.BalancesCustomerAction}
*/
private customerAction;
/**
* Balances constructor
* @param {ProcessOut} client
Expand All @@ -27,6 +37,32 @@ declare class Balances {
* @return {Balances}
*/
setVouchers(val: any): Balances;
/**
* Get AvailableBalance
* Available balance of the customer
* @return {p.Balance}
*/
getAvailableBalance(): p.Balance;
/**
* Set AvailableBalance
* Available balance of the customer
* @param {p.Balance} val
* @return {Balances}
*/
setAvailableBalance(val: p.Balance): Balances;
/**
* Get CustomerAction
* Customer action to be performed, such as redirecting to a URL
* @return {p.BalancesCustomerAction}
*/
getCustomerAction(): p.BalancesCustomerAction;
/**
* Set CustomerAction
* Customer action to be performed, such as redirecting to a URL
* @param {p.BalancesCustomerAction} val
* @return {Balances}
*/
setCustomerAction(val: p.BalancesCustomerAction): Balances;
/**
* Fills the current object with the new values pulled from the data
* @param {array} data
Expand Down
2 changes: 1 addition & 1 deletion lib/balances.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 66 additions & 0 deletions lib/balances.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/balances.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions lib/balancescustomeraction.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import ProcessOut = require('./processout');
declare class BalancesCustomerAction {
private client;
/**
* Customer action type (such as url)
* @type {string}
*/
private type;
/**
* Value of the customer action. If type is an URL, URL to which you should redirect your customer
* @type {string}
*/
private value;
/**
* BalancesCustomerAction constructor
* @param {ProcessOut} client
* @param {array} prefill (optional)
*/
constructor(client: ProcessOut, prefill: BalancesCustomerAction);
getProcessOutObjectClass(): string;
/**
* Get Type
* Customer action type (such as url)
* @return {string}
*/
getType(): string;
/**
* Set Type
* Customer action type (such as url)
* @param {string} val
* @return {BalancesCustomerAction}
*/
setType(val: string): BalancesCustomerAction;
/**
* Get Value
* Value of the customer action. If type is an URL, URL to which you should redirect your customer
* @return {string}
*/
getValue(): string;
/**
* Set Value
* Value of the customer action. If type is an URL, URL to which you should redirect your customer
* @param {string} val
* @return {BalancesCustomerAction}
*/
setValue(val: string): BalancesCustomerAction;
/**
* Fills the current object with the new values pulled from the data
* @param {array} data
* @return {BalancesCustomerAction}
*/
fillWithData(data: any): BalancesCustomerAction;
/**
* Implements a JSON custom marshaller
* @return {any}
*/
toJSON(): any;
}
export = BalancesCustomerAction;
//# sourceMappingURL=balancescustomeraction.d.ts.map
1 change: 1 addition & 0 deletions lib/balancescustomeraction.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 91 additions & 0 deletions lib/balancescustomeraction.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/balancescustomeraction.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading