Companion
Functions
Link copied to clipboard
fun createAlipayReusableParams( currency: String, name: String? = null, email: String? = null, returnUrl: String): SourceParams
Content copied to clipboard
Create reusable Alipay Source params.
Link copied to clipboard
fun createAlipaySingleUseParams( @IntRange(from = 0) amount: Long, currency: String, name: String? = null, email: String? = null, returnUrl: String): SourceParams
Content copied to clipboard
Create single-use Alipay Source params.
Link copied to clipboard
fun createBancontactParams( @IntRange(from = 0) amount: Long, name: String, returnUrl: String, statementDescriptor: String? = null, preferredLanguage: String? = null): SourceParams
Content copied to clipboard
Create Bancontact Source params.
Link copied to clipboard
Create Card Source params.
Link copied to clipboard
fun createCardParamsFromGooglePay(googlePayPaymentData: JSONObject): SourceParams
Content copied to clipboard
Link copied to clipboard
Create a custom SourceParams object. Incorrect attributes may result in errors when connecting to Stripe's API.
Link copied to clipboard
fun createEPSParams( @IntRange(from = 0) amount: Long, name: String, returnUrl: String, statementDescriptor: String? = null): SourceParams
Content copied to clipboard
Create EPS Source params.
Link copied to clipboard
fun createGiropayParams( @IntRange(from = 0) amount: Long, name: String, returnUrl: String, statementDescriptor: String? = null): SourceParams
Content copied to clipboard
Create Giropay Source params.
Link copied to clipboard
fun createIdealParams( @IntRange(from = 0) amount: Long, name: String?, returnUrl: String, statementDescriptor: String? = null, bank: String? = null): SourceParams
Content copied to clipboard
Create iDEAL Source params.
Link copied to clipboard
fun createKlarna( returnUrl: String, currency: String, klarnaParams: KlarnaSourceParams): SourceParams
Content copied to clipboard
Create params for a Klarna Source
Link copied to clipboard
fun createMasterpassParams(transactionId: String, cartId: String): SourceParams
Content copied to clipboard
Create parameters needed to make a Masterpass source
Link copied to clipboard
fun createMultibancoParams( @IntRange(from = 0) amount: Long, returnUrl: String, email: String): SourceParams
Content copied to clipboard
Create Multibanco Source params.
Link copied to clipboard
fun createP24Params( @IntRange(from = 0) amount: Long, currency: String, name: String?, email: String, returnUrl: String): SourceParams
Content copied to clipboard
Create P24 Source params.
Link copied to clipboard
Link copied to clipboard
fun createSepaDebitParams( name: String, iban: String, addressLine1: String?, city: String, postalCode: String, @Size(value = 2) country: String): SourceParams
Content copied to clipboard
fun createSepaDebitParams( name: String, iban: String, email: String?, addressLine1: String?, city: String?, postalCode: String?, @Size(value = 2) country: String?): SourceParams
Content copied to clipboard
Create SEPA Debit Source params.
Link copied to clipboard
fun createSofortParams( @IntRange(from = 0) amount: Long, returnUrl: String, @Size(value = 2) country: String, statementDescriptor: String? = null): SourceParams
Content copied to clipboard
Create SOFORT Source params.
Link copied to clipboard
Create parameters necessary for converting a token into a source
Link copied to clipboard
fun createThreeDSecureParams( @IntRange(from = 0) amount: Long, currency: String, returnUrl: String, cardId: String): SourceParams
Content copied to clipboard
Create 3D Secure Source params.
Link copied to clipboard
Create parameters needed to make a Visa Checkout source.
Link copied to clipboard
fun createWeChatPayParams( @IntRange(from = 0) amount: Long, currency: String, weChatAppId: String, statementDescriptor: String? = null): SourceParams
Content copied to clipboard
Create WeChat Pay Source params.