make Credit Card Default
fun makeCreditCardDefault(creditCard: CreditCard, customerId: String? = AuthManager.customerId, response: Response<Any?>? = null)(source)
Makes a credit card the default payment method
Parameters
credit Card
The credit card to make default.
customer Id
The ID of the customer. Optional. Defaults to value provided to MobilePayments.setCustomerId() or any UI widget
response
An optional response handler. success - receives a null value for the response error - receives error details