@wix/payments 1.0.20 → 1.0.22

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.
@@ -38,7 +38,7 @@ interface AttestationInfo$1 {
38
38
  * Date of signing attestation form (only if status is CONFIRMED)
39
39
  * @readonly
40
40
  */
41
- attestationFormSignedDate?: Date;
41
+ attestationFormSignedDate?: Date | null;
42
42
  /** True, if attestation form was signed. False otherwise. */
43
43
  formSigned?: boolean | null;
44
44
  }
@@ -187,7 +187,7 @@ interface AttestationInfo {
187
187
  * Date of signing attestation form (only if status is CONFIRMED)
188
188
  * @readonly
189
189
  */
190
- attestationFormSignedDate?: Date;
190
+ attestationFormSignedDate?: Date | null;
191
191
  /** True, if attestation form was signed. False otherwise. */
192
192
  formSigned?: boolean | null;
193
193
  }
@@ -516,7 +516,7 @@ declare namespace meta$1 {
516
516
 
517
517
  /**
518
518
  * A refund a record of an attempt of
519
- * returning funds for a charge from a merchant to a customer to who has made a purchase.
519
+ * returning funds for a charge from a merchant to a buyer who has made a purchase.
520
520
  * Read more about refunds in this [article](<https://dev.wix.com/docs/rest/business-management/payments/refunds/introduction>).
521
521
  */
522
522
  interface Refund$1 {
@@ -536,12 +536,12 @@ interface Refund$1 {
536
536
  * Date and time the refund was created.
537
537
  * @readonly
538
538
  */
539
- createdDate?: Date;
539
+ createdDate?: Date | null;
540
540
  /**
541
541
  * Date and time the refund was last updated.
542
542
  * @readonly
543
543
  */
544
- updatedDate?: Date;
544
+ updatedDate?: Date | null;
545
545
  /** Data Extensions */
546
546
  extendedFields?: ExtendedFields$1;
547
547
  /** ID of charge for which the funds are returned by this refund. */
@@ -549,7 +549,7 @@ interface Refund$1 {
549
549
  /** Currency of refund, should be the same as currency of charge. */
550
550
  currency?: string | null;
551
551
  /**
552
- * Amount of refund in base units, what's returned to the customer.
552
+ * Amount of refund in base units, what's returned to the buyer.
553
553
  * E.g. "12.95".
554
554
  */
555
555
  amount?: string | null;
@@ -883,7 +883,7 @@ interface GetRefundabilityResponseNonNullableFields$1 {
883
883
 
884
884
  /**
885
885
  * A refund a record of an attempt of
886
- * returning funds for a charge from a merchant to a customer to who has made a purchase.
886
+ * returning funds for a charge from a merchant to a buyer who has made a purchase.
887
887
  * Read more about refunds in this [article](<https://dev.wix.com/docs/rest/business-management/payments/refunds/introduction>).
888
888
  */
889
889
  interface Refund {
@@ -903,12 +903,12 @@ interface Refund {
903
903
  * Date and time the refund was created.
904
904
  * @readonly
905
905
  */
906
- _createdDate?: Date;
906
+ _createdDate?: Date | null;
907
907
  /**
908
908
  * Date and time the refund was last updated.
909
909
  * @readonly
910
910
  */
911
- _updatedDate?: Date;
911
+ _updatedDate?: Date | null;
912
912
  /** Data Extensions */
913
913
  extendedFields?: ExtendedFields;
914
914
  /** ID of charge for which the funds are returned by this refund. */
@@ -916,7 +916,7 @@ interface Refund {
916
916
  /** Currency of refund, should be the same as currency of charge. */
917
917
  currency?: string | null;
918
918
  /**
919
- * Amount of refund in base units, what's returned to the customer.
919
+ * Amount of refund in base units, what's returned to the buyer.
920
920
  * E.g. "12.95".
921
921
  */
922
922
  amount?: string | null;