get
Get a PaymentComponent.
Return
The Component
Parameters
The Fragment to associate the lifecycle.
The corresponding PaymentMethod object.
The callback to handle events from the PaymentComponent.
An Order in case of an ongoing partial payment flow.
The key to use to identify the PaymentComponent.
NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.
Get a PaymentComponent.
Return
The Component
Parameters
The Activity to associate the lifecycle.
The corresponding PaymentMethod object.
The callback to handle events from the PaymentComponent.
An Order in case of an ongoing partial payment flow.
The key to use to identify the PaymentComponent.
NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.
Get a PaymentComponent.
Return
The Component
Parameters
The owner of the SavedStateRegistry, normally an Activity or Fragment.
A scope that owns ViewModelStore, normally an Activity or Fragment.
The lifecycle owner, normally an Activity or Fragment.
The corresponding PaymentMethod object.
Your main application class.
The callback to handle events from the PaymentComponent.
An Order in case of an ongoing partial payment flow.
The key to use to identify the PaymentComponent.
NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.
Get a PaymentComponent.
Return
The Component
Parameters
The Fragment to associate the lifecycle.
The corresponding PaymentMethod object.
The Configuration of the component.
The callback to handle events from the PaymentComponent.
An Order in case of an ongoing partial payment flow.
The key to use to identify the PaymentComponent.
NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.
Get a PaymentComponent.
Return
The Component
Parameters
The Activity to associate the lifecycle.
The corresponding PaymentMethod object.
The Configuration of the component.
The callback to handle events from the PaymentComponent.
An Order in case of an ongoing partial payment flow.
The key to use to identify the PaymentComponent.
NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.
Get a PaymentComponent.
Return
The Component
Parameters
The owner of the SavedStateRegistry, normally an Activity or Fragment.
A scope that owns ViewModelStore, normally an Activity or Fragment.
The lifecycle owner, normally an Activity or Fragment.
The corresponding PaymentMethod object.
The Configuration of the component.
Your main application class.
The callback to handle events from the PaymentComponent.
An Order in case of an ongoing partial payment flow.
The key to use to identify the PaymentComponent.
NOTE: By default only one PaymentComponent will be created per lifecycle. Use key in case you need to instantiate multiple PaymentComponents in the same lifecycle.