@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
3 lines (2 loc) • 728 B
JavaScript
import e from"../helpers/OpenInvoiceContainer/OpenInvoiceContainer.js";import{TxVariants as r}from"../tx-variants.js";import{ALLOWED_COUNTRIES as t}from"./config.js";function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class a extends e{formatProps(e){return{...super.formatProps(e),allowedCountries:e.countryCode?[e.countryCode]:t}}}i(a,"type",r.afterpay_b2b),i(a,"defaultProps",{onChange:()=>{},data:{companyDetails:{},personalDetails:{},billingAddress:{},deliveryAddress:{}},visibility:{companyDetails:"editable",personalDetails:"editable",billingAddress:"editable",deliveryAddress:"editable"}});export{a as default};
//# sourceMappingURL=AfterPayB2B.js.map