Package-level declarations
Functions
Link copied to clipboard
A Composable that can display input and fill in details for a Component.
Link copied to clipboard
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : SessionComponentCallback<ComponentStateT>> SessionPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(checkoutSession: CheckoutSession, paymentMethod: PaymentMethod, componentCallback: ComponentCallbackT, key: String): ComponentT
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : SessionComponentCallback<ComponentStateT>> SessionPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(checkoutSession: CheckoutSession, paymentMethod: PaymentMethod, configuration: ConfigurationT, componentCallback: ComponentCallbackT, key: String): ComponentT
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : SessionComponentCallback<ComponentStateT>> SessionPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(checkoutSession: CheckoutSession, paymentMethod: PaymentMethod, checkoutConfiguration: CheckoutConfiguration, componentCallback: ComponentCallbackT, key: String): ComponentT
Get a PaymentComponent with a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : SessionComponentCallback<ComponentStateT>> SessionStoredPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(checkoutSession: CheckoutSession, storedPaymentMethod: StoredPaymentMethod, componentCallback: ComponentCallbackT, key: String?): ComponentT
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : SessionComponentCallback<ComponentStateT>> SessionStoredPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(checkoutSession: CheckoutSession, storedPaymentMethod: StoredPaymentMethod, configuration: ConfigurationT, componentCallback: ComponentCallbackT, key: String?): ComponentT
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : SessionComponentCallback<ComponentStateT>> SessionStoredPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(checkoutSession: CheckoutSession, storedPaymentMethod: StoredPaymentMethod, checkoutConfiguration: CheckoutConfiguration, componentCallback: ComponentCallbackT, key: String?): ComponentT
Get a PaymentComponent with a stored payment method and a checkout session from a Composable. You only need to integrate with the /sessions endpoint to create a session and the component will automatically handle the rest of the payment flow.
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : ComponentCallback<ComponentStateT>> PaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(paymentMethod: PaymentMethod, configuration: ConfigurationT, componentCallback: ComponentCallbackT, key: String?, order: Order? = null): ComponentT
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : ComponentCallback<ComponentStateT>> PaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(paymentMethod: PaymentMethod, checkoutConfiguration: CheckoutConfiguration, componentCallback: ComponentCallbackT, key: String?, order: Order? = null): ComponentT
Get a PaymentComponent from a Composable.
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : ComponentCallback<ComponentStateT>> StoredPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(storedPaymentMethod: StoredPaymentMethod, configuration: ConfigurationT, componentCallback: ComponentCallbackT, key: String?, order: Order? = null): ComponentT
fun <ComponentT : PaymentComponent, ConfigurationT : Configuration, ComponentStateT : PaymentComponentState<*>, ComponentCallbackT : ComponentCallback<ComponentStateT>> StoredPaymentComponentProvider<ComponentT, ConfigurationT, ComponentStateT, ComponentCallbackT>.get(storedPaymentMethod: StoredPaymentMethod, checkoutConfiguration: CheckoutConfiguration, componentCallback: ComponentCallbackT, key: String?, order: Order? = null): ComponentT
Get a PaymentComponent with a stored payment method from a Composable.