Package org.killbill.billing.jaxrs.json
Class PaymentMethodJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.JsonBase
-
- org.killbill.billing.jaxrs.json.PaymentMethodJson
-
public class PaymentMethodJson extends JsonBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodJson.PaymentMethodPluginDetailJson
-
Constructor Summary
Constructors Constructor Description PaymentMethodJson(UUID paymentMethodId, String externalKey, UUID accountId, Boolean isDefault, String pluginName, PaymentMethodJson.PaymentMethodPluginDetailJson pluginInfo, List<AuditLogJson> auditLogs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UUIDgetAccountId()StringgetExternalKey()UUIDgetPaymentMethodId()PaymentMethodJson.PaymentMethodPluginDetailJsongetPluginInfo()StringgetPluginName()inthashCode()BooleanisDefault()PaymentMethodtoPaymentMethod(UUID accountId)static PaymentMethodJsontoPaymentMethodJson(Account account, PaymentMethod in, AccountAuditLogs accountAuditLogs)StringtoString()-
Methods inherited from class org.killbill.billing.jaxrs.json.JsonBase
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toString
-
-
-
-
Constructor Detail
-
PaymentMethodJson
public PaymentMethodJson(UUID paymentMethodId, String externalKey, UUID accountId, Boolean isDefault, String pluginName, @Nullable PaymentMethodJson.PaymentMethodPluginDetailJson pluginInfo, @Nullable List<AuditLogJson> auditLogs)
-
-
Method Detail
-
toPaymentMethodJson
public static PaymentMethodJson toPaymentMethodJson(Account account, PaymentMethod in, @Nullable AccountAuditLogs accountAuditLogs)
-
toPaymentMethod
public PaymentMethod toPaymentMethod(UUID accountId)
-
getPaymentMethodId
public UUID getPaymentMethodId()
-
getAccountId
public UUID getAccountId()
-
isDefault
public Boolean isDefault()
-
getPluginName
public String getPluginName()
-
getPluginInfo
public PaymentMethodJson.PaymentMethodPluginDetailJson getPluginInfo()
-
getExternalKey
public String getExternalKey()
-
-