1var StripeBNPLKlarnaModel = function () { 2 StripeBNPLBaseModel.apply(this, arguments); 3 4 this.supportedMerchantCountries = [ 5 'AT', 'BE', 'DK', 'EE', 'FI', 6 'FR', 'DE', 'GR', 'IE', 'IT', 7 'LV', 'LT', 'NL', 'NO', 'SK', 8 'SI', 'ES', 'SE', 'GB', 'US', 9 ]; 10 11 this.supportedCountries = [ 12 { 13 country: 'US', 14 currency: 'usd', 15 minAmount: 1, 16 maxAmount: 200000, 17 }, 18 { 19 country: 'GB', 20 currency: 'gbp', 21 minAmount: 1, 22 maxAmount: 200000, 23 }, 24 ]; 25 26 this.confirmPayment = function (transactionId, paymentIntentClientSecret, billingDetails) { 27 return this.stripe.confirmKlarnaPayment( 28 paymentIntentClientSecret, 29 { 30 payment_method: { 31 billing_details: billingDetails, 32 }, 33 return_url: this.redirectURL + '?id=' + transactionId, 34 } 35 ).then(function (result) { 36 if (result.error) { 37 return Promise.reject(StripeBNPLError.fromResponseError(result.error)); 38 } 39 40 return result; 41 }); 42 }; 43}; 44 45StripeBNPLKlarnaModel.prototype = Object.create(StripeBNPLBaseModel.prototype);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.