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
18 changes: 18 additions & 0 deletions lib/invoicedevice.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ declare class InvoiceDevice {
* @type {string}
*/
private channel;
/**
* Preferred 3DS SDK type for authentication. This is the recommended field to use instead of channel for 3DS SDK selection
* @type {string}
*/
private threedsSdk;
/**
* Platform of the device for analytics and metadata. Possible values: "web", "ios", "android", "other"
* @type {string}
Expand Down Expand Up @@ -41,6 +46,19 @@ declare class InvoiceDevice {
* @return {InvoiceDevice}
*/
setChannel(val: string): InvoiceDevice;
/**
* Get ThreedsSdk
* Preferred 3DS SDK type for authentication. This is the recommended field to use instead of channel for 3DS SDK selection
* @return {string}
*/
getThreedsSdk(): string;
/**
* Set ThreedsSdk
* Preferred 3DS SDK type for authentication. This is the recommended field to use instead of channel for 3DS SDK selection
* @param {string} val
* @return {InvoiceDevice}
*/
setThreedsSdk(val: string): InvoiceDevice;
/**
* Get Platform
* Platform of the device for analytics and metadata. Possible values: "web", "ios", "android", "other"
Expand Down
2 changes: 1 addition & 1 deletion lib/invoicedevice.d.ts.map

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

26 changes: 26 additions & 0 deletions lib/invoicedevice.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/invoicedevice.js.map

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

6 changes: 3 additions & 3 deletions lib/paymentprocessingconfiguration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare class PaymentProcessingConfiguration {
*/
private bypassUnsupportedSplitPayments;
/**
* Alternative Payment Method (APM) specific payment processing cofiguration.
* Alternative Payment Method (APM) specific payment processing configuration.
* @type {p.APMPaymentProcessingConfiguration}
*/
private apmPaymentConfig;
Expand All @@ -34,13 +34,13 @@ declare class PaymentProcessingConfiguration {
setBypassUnsupportedSplitPayments(val: boolean): PaymentProcessingConfiguration;
/**
* Get ApmPaymentConfig
* Alternative Payment Method (APM) specific payment processing cofiguration.
* Alternative Payment Method (APM) specific payment processing configuration.
* @return {p.APMPaymentProcessingConfiguration}
*/
getApmPaymentConfig(): p.APMPaymentProcessingConfiguration;
/**
* Set ApmPaymentConfig
* Alternative Payment Method (APM) specific payment processing cofiguration.
* Alternative Payment Method (APM) specific payment processing configuration.
* @param {p.APMPaymentProcessingConfiguration} val
* @return {PaymentProcessingConfiguration}
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/paymentprocessingconfiguration.js

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

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "processout",
"version": "11.0.0",
"version": "11.0.1",
"description": "ProcessOut API bindings.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
29 changes: 29 additions & 0 deletions src/invoicedevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ class InvoiceDevice {
*/
private channel: string = null;

/**
* Preferred 3DS SDK type for authentication. This is the recommended field to use instead of channel for 3DS SDK selection
* @type {string}
*/
private threedsSdk: string = null;

/**
* Platform of the device for analytics and metadata. Possible values: "web", "ios", "android", "other"
* @type {string}
Expand Down Expand Up @@ -75,6 +81,26 @@ class InvoiceDevice {
return this;
}

/**
* Get ThreedsSdk
* Preferred 3DS SDK type for authentication. This is the recommended field to use instead of channel for 3DS SDK selection
* @return {string}
*/
public getThreedsSdk(): string {
return this.threedsSdk;
}

/**
* Set ThreedsSdk
* Preferred 3DS SDK type for authentication. This is the recommended field to use instead of channel for 3DS SDK selection
* @param {string} val
* @return {InvoiceDevice}
*/
public setThreedsSdk(val: string): InvoiceDevice {
this.threedsSdk = val;
return this;
}

/**
* Get Platform
* Platform of the device for analytics and metadata. Possible values: "web", "ios", "android", "other"
Expand Down Expand Up @@ -143,6 +169,8 @@ class InvoiceDevice {
public fillWithData(data: any): InvoiceDevice {
if (data["channel"])
this.setChannel(data["channel"]);
if (data["threeds_sdk"])
this.setThreedsSdk(data["threeds_sdk"]);
if (data["platform"])
this.setPlatform(data["platform"]);
if (data["ip_address"])
Expand All @@ -159,6 +187,7 @@ class InvoiceDevice {
public toJSON(): any {
return {
"channel": this.getChannel(),
"threeds_sdk": this.getThreedsSdk(),
"platform": this.getPlatform(),
"ip_address": this.getIpAddress(),
"id": this.getId(),
Expand Down
6 changes: 3 additions & 3 deletions src/paymentprocessingconfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class PaymentProcessingConfiguration {
private bypassUnsupportedSplitPayments: boolean = null;

/**
* Alternative Payment Method (APM) specific payment processing cofiguration.
* Alternative Payment Method (APM) specific payment processing configuration.
* @type {p.APMPaymentProcessingConfiguration}
*/
private apmPaymentConfig: p.APMPaymentProcessingConfiguration = null;
Expand Down Expand Up @@ -65,7 +65,7 @@ class PaymentProcessingConfiguration {

/**
* Get ApmPaymentConfig
* Alternative Payment Method (APM) specific payment processing cofiguration.
* Alternative Payment Method (APM) specific payment processing configuration.
* @return {p.APMPaymentProcessingConfiguration}
*/
public getApmPaymentConfig(): p.APMPaymentProcessingConfiguration {
Expand All @@ -74,7 +74,7 @@ class PaymentProcessingConfiguration {

/**
* Set ApmPaymentConfig
* Alternative Payment Method (APM) specific payment processing cofiguration.
* Alternative Payment Method (APM) specific payment processing configuration.
* @param {p.APMPaymentProcessingConfiguration} val
* @return {PaymentProcessingConfiguration}
*/
Expand Down