public final class PaymentMethodJsonFactory extends GsonModelFactory<AbstractPaymentMethod>
AbstractPaymentMethod
s from JSON.Constructor and Description |
---|
PaymentMethodJsonFactory()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
onBuildFactory(com.google.gson.GsonBuilder gsonBuilder)
Override this to register type adapters or anything else of that sort.
|
createFrom, from, from, fromList, fromList, getTypeKey, to, toJsonElement, toRequestSerializer
protected void onBuildFactory(com.google.gson.GsonBuilder gsonBuilder)
GsonModelFactory
onBuildFactory
in class GsonModelFactory<AbstractPaymentMethod>
gsonBuilder
- the Gson builder that will be used for this class.