payrex-node 1.0.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.0] - 2025-02-11
|
|
4
|
+
|
|
5
|
+
- billing_details_collection support for billing_statements.
|
|
6
|
+
|
|
7
|
+
## [1.1.0] - 2025-02-06
|
|
8
|
+
|
|
9
|
+
- statement_descriptor support for payment intents.
|
|
10
|
+
- statement_descriptor support for billing statements.
|
|
11
|
+
|
|
3
12
|
## [1.0.2] - 2025-02-03
|
|
4
13
|
|
|
5
14
|
- billing_details_collection support for PayRex Checkout.
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ function BillingStatementEntity(apiResource) {
|
|
|
3
3
|
|
|
4
4
|
this.id = data.id;
|
|
5
5
|
this.amount = data.amount;
|
|
6
|
+
this.billingDetailsCollection = data.billing_details_collection;
|
|
6
7
|
this.currency = data.currency;
|
|
7
8
|
this.customerId = data.customer_id;
|
|
8
9
|
this.description = data.description;
|
|
@@ -14,6 +15,7 @@ function BillingStatementEntity(apiResource) {
|
|
|
14
15
|
this.livemode = data.livemode;
|
|
15
16
|
this.metadata = data.metadata;
|
|
16
17
|
this.paymentIntent = data.payment_intent;
|
|
18
|
+
this.statementDescriptor = data.statement_descriptor;
|
|
17
19
|
this.status = data.status;
|
|
18
20
|
this.paymentSettings = data.payment_settings;
|
|
19
21
|
this.customer = data.customer;
|
|
@@ -14,6 +14,7 @@ function PaymentIntentEntity(apiResource) {
|
|
|
14
14
|
this.paymentMethodId = data.payment_method_id;
|
|
15
15
|
this.paymentMethods = data.payment_methods;
|
|
16
16
|
this.paymentMethodOptions = data.payment_method_options;
|
|
17
|
+
this.statementDescriptor = data.statement_descriptor;
|
|
17
18
|
this.status = data.status;
|
|
18
19
|
this.nextAction = data.next_action;
|
|
19
20
|
this.returnUrl = data.return_url;
|