@vendasta/billing 14.43.0 → 14.44.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/esm2022/lib/_internal/interfaces/payment.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/payment.mjs +7 -1
- package/fesm2022/vendasta-billing.mjs +6 -0
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/payment.interface.d.ts +1 -0
- package/lib/_internal/objects/payment.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11232,6 +11232,9 @@ class RetailPayment {
|
|
|
11232
11232
|
if (proto.paymentFacilitatorType) {
|
|
11233
11233
|
m.paymentFacilitatorType = enumStringToValue$g(PaymentFacilitatorType, proto.paymentFacilitatorType);
|
|
11234
11234
|
}
|
|
11235
|
+
if (proto.settledAt) {
|
|
11236
|
+
m.settledAt = new Date(proto.settledAt);
|
|
11237
|
+
}
|
|
11235
11238
|
return m;
|
|
11236
11239
|
}
|
|
11237
11240
|
constructor(kwargs) {
|
|
@@ -11308,6 +11311,9 @@ class RetailPayment {
|
|
|
11308
11311
|
if (typeof this.paymentFacilitatorType !== 'undefined') {
|
|
11309
11312
|
toReturn['paymentFacilitatorType'] = this.paymentFacilitatorType;
|
|
11310
11313
|
}
|
|
11314
|
+
if (typeof this.settledAt !== 'undefined' && this.settledAt !== null) {
|
|
11315
|
+
toReturn['settledAt'] = 'toApiJson' in this.settledAt ? this.settledAt.toApiJson() : this.settledAt;
|
|
11316
|
+
}
|
|
11311
11317
|
return toReturn;
|
|
11312
11318
|
}
|
|
11313
11319
|
}
|