Companion

public class Companion

Properties

Link copied to clipboard
public final static PaymentFragment.Companion INSTANCE

Functions

Link copied to clipboard
public final PaymentFragment newInstance(GiniHealth giniHealth, String documentId, PaymentFlowConfiguration paymentFlowConfiguration, ViewModelProvider.Factory viewModelFactory)

Creates an instance of PaymentFragment for the case when payment is initiated with a documentId

public final PaymentFragment newInstance(GiniHealth giniHealth, PaymentDetails paymentDetails, PaymentFlowConfiguration paymentFlowConfiguration, ViewModelProvider.Factory viewModelFactory)

Creates an instance of PaymentFragment for the case when payment is initiated with payment details