Skip to content

Commit 597b655

Browse files
feat: add auto_capture_at field within the invoice object (#34)
Co-authored-by: ProcessOut Fountain <internal@processout.com>
1 parent 2ecc0e5 commit 597b655

7 files changed

Lines changed: 82 additions & 7 deletions

File tree

lib/invoice.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@ declare class Invoice {
237237
* @type {boolean}
238238
*/
239239
private verification;
240+
/**
241+
* A timestamp to indicate when an auto capture should take place following an authorization. This takes priority over the value sent in the authorization request.
242+
* @type {string}
243+
*/
244+
private autoCaptureAt;
240245
/**
241246
* Invoice constructor
242247
* @param {ProcessOut} client
@@ -855,6 +860,19 @@ declare class Invoice {
855860
* @return {Invoice}
856861
*/
857862
setVerification(val: boolean): Invoice;
863+
/**
864+
* Get AutoCaptureAt
865+
* A timestamp to indicate when an auto capture should take place following an authorization. This takes priority over the value sent in the authorization request.
866+
* @return {string}
867+
*/
868+
getAutoCaptureAt(): string;
869+
/**
870+
* Set AutoCaptureAt
871+
* A timestamp to indicate when an auto capture should take place following an authorization. This takes priority over the value sent in the authorization request.
872+
* @param {string} val
873+
* @return {Invoice}
874+
*/
875+
setAutoCaptureAt(val: string): Invoice;
858876
/**
859877
* Fills the current object with the new values pulled from the data
860878
* @param {array} data

lib/invoice.d.ts.map

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

lib/invoice.js

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/invoice.js.map

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

0 commit comments

Comments
 (0)