Methods
Static tryCreateVoucherForPaymentFee
- tryCreateVoucherForPaymentFee(order: WcOrder, currencyRate: number, storefrontPrefix: "GB" | "ND", paymentMethod_?: "PayPal" | "Stripe"): Voucher
Parameters
currencyRate: number
storefrontPrefix: "GB" | "ND"
Optional paymentMethod_: "PayPal" | "Stripe"