setShippingMethodsFactory
fun setShippingMethodsFactory(shippingMethodsFactory: PaymentSessionConfig.ShippingMethodsFactory?): PaymentSessionConfig.Builder
Parameters
shippingMethodsFactory
required if shippingInformationValidator is specified and shippingMethodsRequired is true
. Used to create the ShippingMethod options to be displayed in PaymentFlowActivity.
Note: this instance must be Serializable.