Companion

object Companion

Functions

Link copied to clipboard
fun createAlipayReusableParams(currency: String, name: String? = null, email: String? = null, returnUrl: String): SourceParams

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

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

Create Bancontact Source params.

Link copied to clipboard

Create Card Source params.

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

Create EPS Source params.

Link copied to clipboard
fun createGiropayParams(@IntRange(from = 0) amount: Long, name: String, returnUrl: String, statementDescriptor: String? = null): SourceParams

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

Create iDEAL Source params.

Link copied to clipboard
fun createKlarna(returnUrl: String, currency: String, klarnaParams: KlarnaSourceParams): SourceParams

Create params for a Klarna Source

Link 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

Create Multibanco Source params.

Link copied to clipboard
fun createP24Params(@IntRange(from = 0) amount: Long, currency: String, name: String?, email: String, returnUrl: String): SourceParams

Create P24 Source params.

Link copied to clipboard

Create parameters needed to retrieve a source.

Link copied to clipboard
fun createSepaDebitParams(name: String, iban: String, addressLine1: String?, city: String, postalCode: String, @Size(value = 2) country: String): SourceParams
fun createSepaDebitParams(name: String, iban: String, email: String?, addressLine1: String?, city: String?, postalCode: String?, @Size(value = 2) country: String?): SourceParams

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

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

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

Create WeChat Pay Source params.