-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathPaymentRequestUpdate.d.ts
More file actions
96 lines (96 loc) · 3.03 KB
/
Copy pathPaymentRequestUpdate.d.ts
File metadata and controls
96 lines (96 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/**
* Paystack
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
*
* The version of the Paystack Node library: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface PaymentRequestUpdate
*/
export interface PaymentRequestUpdate {
/**
* Customer id or code
* @type {string}
* @memberof PaymentRequestUpdate
*/
customer?: string;
/**
* Payment request amount. Only useful if line items and tax values are ignored.
* The endpoint will throw a friendly warning if neither is available.
* @type {number}
* @memberof PaymentRequestUpdate
*/
amount?: number;
/**
* Specify the currency of the invoice. Allowed values are NGN, GHS, ZAR and USD. Defaults to NGN
* @type {string}
* @memberof PaymentRequestUpdate
*/
currency?: string;
/**
* ISO 8601 representation of request due date
* @type {Date}
* @memberof PaymentRequestUpdate
*/
dueDate?: Date;
/**
* A short description of the payment request
* @type {string}
* @memberof PaymentRequestUpdate
*/
description?: string;
/**
* Array of line items
* @type {Array<object>}
* @memberof PaymentRequestUpdate
*/
lineItems?: Array<object>;
/**
* Array of taxes
* @type {Array<object>}
* @memberof PaymentRequestUpdate
*/
tax?: Array<object>;
/**
* Indicates whether Paystack sends an email notification to customer. Defaults to true
* @type {Array<object>}
* @memberof PaymentRequestUpdate
*/
sendNotification?: Array<object>;
/**
* Indicate if request should be saved as draft. Defaults to false and overrides send_notification
* @type {Array<object>}
* @memberof PaymentRequestUpdate
*/
draft?: Array<object>;
/**
* Set to true to create a draft invoice (adds an auto incrementing invoice number if none is provided)
* even if there are no line_items or tax passed
* @type {Array<object>}
* @memberof PaymentRequestUpdate
*/
hasInvoice?: Array<object>;
/**
* Numeric value of invoice. Invoice will start from 1 and auto increment from there. This field is to help
* override whatever value Paystack decides. Auto increment for subsequent invoices continue from this point.
* @type {number}
* @memberof PaymentRequestUpdate
*/
invoiceNumber?: number;
/**
* The split code of the transaction split.
* @type {string}
* @memberof PaymentRequestUpdate
*/
splitCode?: string;
}
export declare function PaymentRequestUpdateFromJSON(json: any): PaymentRequestUpdate;
export declare function PaymentRequestUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentRequestUpdate;
export declare function PaymentRequestUpdateToJSON(value?: PaymentRequestUpdate | null): any;