public class PaymentMethod extends MutableEntity<PaymentMethod>
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountID |
protected String |
cardHolderName |
protected String |
cardType |
protected String |
changedBy |
protected Date |
created |
protected Boolean |
deleted |
protected String |
description |
protected String |
expiryDate |
protected String |
gateway |
protected String |
id |
protected String |
linkID |
protected String |
name |
protected String |
organizationID |
protected int |
priority |
protected static ResourcePath |
resourcePath |
protected Boolean |
reusable |
protected Date |
updated |
m_client, PRETTY_PRINT_GSON| Constructor and Description |
|---|
PaymentMethod() |
PaymentMethod(BillForwardClient client_) |
savecreate, create, retiregetAll, getByID, getByID, getByIDPostPath, getClient, setClient, toStringprotected String id
protected String accountID
protected String organizationID
protected String name
protected String description
protected String cardHolderName
protected String expiryDate
protected String cardType
protected String gateway
protected String linkID
protected int priority
protected Boolean reusable
protected Boolean deleted
protected Date updated
protected String changedBy
protected Date created
protected static ResourcePath resourcePath
public PaymentMethod(BillForwardClient client_)
public PaymentMethod()
public String getID()
public String getAccountID()
public void setAccountID(String accountID)
public String getOrganizationID()
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getCardHolderName()
public void setCardHolderName(String cardHolderName)
public String getExpiryDate()
public void setExpiryDate(String expiryDate)
public String getCardTypeAsString()
public CardType getCardType()
public void setCardType(CardType cardType)
public String getPaymentGatewayAsString()
public PaymentGateway getGateway()
public void setGateway(PaymentGateway cardType)
public String getLinkID()
public void setLinkID(String linkID)
public int getPriority()
public void setPriority(int priority)
public Boolean getReusable()
public void setReusable(Boolean reusable)
public Boolean getDeleted()
public void setDeleted(Boolean deleted)
public Date getUpdated()
public String getChangedBy()
public Date getCreated()
public static PaymentMethod create(PaymentMethod paymentMethod) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static PaymentMethod getByID(String ID) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public ResourcePath getResourcePath()
getResourcePath in class BillingEntitypublic static ResourcePath ResourcePath()
Copyright © 2014 BillForward. All rights reserved.