Companion

object Companion

This companion contains static methods used to deserialize a SavedPaymentMethod from a JSON string or from data created by the old payment library.

Functions

Link copied to clipboard
fun create(legacySavedPaymentMethodData: ByteArray): SavedPaymentMethod?

Creates a SavedPaymentMethod from data encoded by the old payment library.

Creates a SavedPaymentMethod from a JSON string.