@myclub_se/data-access 1.7.1 → 1.8.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/esm2020/lib/api-models/api-invoice/api-invoice-payments/api-swish.mjs +1 -1
- package/esm2020/lib/models/invoice/payment-types/swish.mjs +6 -2
- package/esm2020/lib/services/factories/swish-factory.mjs +2 -2
- package/fesm2015/myclub_se-data-access.mjs +6 -2
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +6 -2
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-invoice/api-invoice-payments/api-swish.d.ts +4 -0
- package/lib/models/invoice/payment-types/swish.d.ts +5 -1
- package/package.json +1 -1
|
@@ -738,15 +738,19 @@ class Giro {
|
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
class Swish {
|
|
741
|
-
constructor(clubId, sectionId, certificateValidUntil, defaultActivated, name, status, swishPayeeAlias, testAccount, usesMyClubCertificate) {
|
|
741
|
+
constructor(clubId, sectionId, certificateValidUntil, defaultActivated, name, paymentTermsName, paymentTermsOrganisationId, paymentTermsUrl, status, swishPayeeAlias, testAccount, usePaymentTerms, usesMyClubCertificate) {
|
|
742
742
|
this.clubId = clubId;
|
|
743
743
|
this.sectionId = sectionId;
|
|
744
744
|
this.certificateValidUntil = certificateValidUntil;
|
|
745
745
|
this.defaultActivated = defaultActivated;
|
|
746
746
|
this.name = name;
|
|
747
|
+
this.paymentTermsName = paymentTermsName;
|
|
748
|
+
this.paymentTermsOrganisationId = paymentTermsOrganisationId;
|
|
749
|
+
this.paymentTermsUrl = paymentTermsUrl;
|
|
747
750
|
this.status = status;
|
|
748
751
|
this.swishPayeeAlias = swishPayeeAlias;
|
|
749
752
|
this.testAccount = testAccount;
|
|
753
|
+
this.usePaymentTerms = usePaymentTerms;
|
|
750
754
|
this.usesMyClubCertificate = usesMyClubCertificate;
|
|
751
755
|
}
|
|
752
756
|
}
|
|
@@ -1346,7 +1350,7 @@ const memberCardFactory = (apiMemberCard) => new MemberCard(apiMemberCard.id, ca
|
|
|
1346
1350
|
|
|
1347
1351
|
const memberFeeFactory = (apiMemberFee) => new MemberFee(apiMemberFee.id, apiMemberFee.club_id, apiMemberFee.section_id, apiMemberFee.name);
|
|
1348
1352
|
|
|
1349
|
-
const swishFactory = (apiSwish) => new Swish(apiSwish.club_id, apiSwish.section_id, apiSwish.certificate_valid_until, apiSwish.default_activated, apiSwish.name, apiSwish.status, apiSwish.swish_payee_alias, apiSwish.test_account, apiSwish.uses_myclub_certificate);
|
|
1353
|
+
const swishFactory = (apiSwish) => new Swish(apiSwish.club_id, apiSwish.section_id, apiSwish.certificate_valid_until, apiSwish.default_activated, apiSwish.name, apiSwish.payment_terms_name, apiSwish.payment_terms_organisation_id, apiSwish.payment_terms_url, apiSwish.status, apiSwish.swish_payee_alias, apiSwish.test_account, apiSwish.use_payment_terms, apiSwish.uses_myclub_certificate);
|
|
1350
1354
|
|
|
1351
1355
|
const zimplerFactory = (apiZimpler) => new Zimpler(apiZimpler.club_id, apiZimpler.section_id, apiZimpler.default_activated, apiZimpler.merchant_id, apiZimpler.name, apiZimpler.status, apiZimpler.test_account);
|
|
1352
1356
|
|