@vendasta/billing 10.9.1 → 10.9.3
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/esm2020/lib/_internal/interfaces/payment.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/payment.mjs +7 -4
- package/fesm2015/vendasta-billing.mjs +6 -3
- package/fesm2015/vendasta-billing.mjs.map +1 -1
- package/fesm2020/vendasta-billing.mjs +6 -3
- package/fesm2020/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/payment.interface.d.ts +2 -1
- package/lib/_internal/objects/payment.d.ts +2 -1
- package/package.json +1 -1
|
@@ -6633,7 +6633,7 @@ class Adjustment {
|
|
|
6633
6633
|
m.dispute = Dispute.fromProto(proto.dispute);
|
|
6634
6634
|
}
|
|
6635
6635
|
if (proto.created) {
|
|
6636
|
-
m.created =
|
|
6636
|
+
m.created = new Date(proto.created);
|
|
6637
6637
|
}
|
|
6638
6638
|
return m;
|
|
6639
6639
|
}
|
|
@@ -6663,8 +6663,8 @@ class Adjustment {
|
|
|
6663
6663
|
if (typeof this.dispute !== 'undefined' && this.dispute !== null) {
|
|
6664
6664
|
toReturn['dispute'] = 'toApiJson' in this.dispute ? this.dispute.toApiJson() : this.dispute;
|
|
6665
6665
|
}
|
|
6666
|
-
if (typeof this.created !== 'undefined') {
|
|
6667
|
-
toReturn['created'] = this.created;
|
|
6666
|
+
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
6667
|
+
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
6668
6668
|
}
|
|
6669
6669
|
return toReturn;
|
|
6670
6670
|
}
|
|
@@ -7488,6 +7488,9 @@ class ListRetailTransactionsRequestListRetailTransactionsFilters {
|
|
|
7488
7488
|
if (typeof this.type !== 'undefined') {
|
|
7489
7489
|
toReturn['type'] = this.type;
|
|
7490
7490
|
}
|
|
7491
|
+
if (typeof this.customerId !== 'undefined') {
|
|
7492
|
+
toReturn['customerId'] = this.customerId;
|
|
7493
|
+
}
|
|
7491
7494
|
return toReturn;
|
|
7492
7495
|
}
|
|
7493
7496
|
}
|