Class Payment
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.billing.invoice.receivable.Payment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Payment.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected BigDecimal
amount
The amount of the payment.protected boolean
amountSpecified
protected GregorianCalendar
createDate
The date of the payment.protected boolean
createDateSpecified
protected Transaction
creditCardTransaction
protected ExchangeRate
exchangeRate
protected Invoice
invoice
protected Long
invoiceId
The invoice that the payment is for.protected boolean
invoiceIdSpecified
protected Transaction
paypalTransaction
protected String
typeCode
The type of payment.protected boolean
typeCodeSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Payment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
BigDecimal
getAmount()
GregorianCalendar
getCreateDate()
Transaction
getCreditCardTransaction()
ExchangeRate
getExchangeRate()
Invoice
getInvoice()
Long
getInvoiceId()
Transaction
getPaypalTransaction()
String
getTypeCode()
boolean
isAmountSpecified()
boolean
isCreateDateSpecified()
boolean
isInvoiceIdSpecified()
boolean
isTypeCodeSpecified()
void
setAccount(Account account)
void
setAmount(BigDecimal amount)
void
setCreateDate(GregorianCalendar createDate)
void
setCreditCardTransaction(Transaction creditCardTransaction)
void
setExchangeRate(ExchangeRate exchangeRate)
void
setInvoice(Invoice invoice)
void
setInvoiceId(Long invoiceId)
void
setPaypalTransaction(Transaction paypalTransaction)
void
setTypeCode(String typeCode)
void
unsetAmount()
void
unsetCreateDate()
void
unsetInvoiceId()
void
unsetTypeCode()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
-
creditCardTransaction
@ApiProperty protected Transaction creditCardTransaction
-
exchangeRate
@ApiProperty protected ExchangeRate exchangeRate
-
invoice
@ApiProperty protected Invoice invoice
-
paypalTransaction
@ApiProperty protected Transaction paypalTransaction
-
amount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal amount
The amount of the payment.
-
amountSpecified
protected boolean amountSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date of the payment.
-
createDateSpecified
protected boolean createDateSpecified
-
invoiceId
@ApiProperty(canBeNullOrNotSet=true) protected Long invoiceId
The invoice that the payment is for.
-
invoiceIdSpecified
protected boolean invoiceIdSpecified
-
typeCode
@ApiProperty(canBeNullOrNotSet=true) protected String typeCode
The type of payment.
-
typeCodeSpecified
protected boolean typeCodeSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCreditCardTransaction
public Transaction getCreditCardTransaction()
-
setCreditCardTransaction
public void setCreditCardTransaction(Transaction creditCardTransaction)
-
getExchangeRate
public ExchangeRate getExchangeRate()
-
setExchangeRate
public void setExchangeRate(ExchangeRate exchangeRate)
-
getInvoice
public Invoice getInvoice()
-
setInvoice
public void setInvoice(Invoice invoice)
-
getPaypalTransaction
public Transaction getPaypalTransaction()
-
setPaypalTransaction
public void setPaypalTransaction(Transaction paypalTransaction)
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
isAmountSpecified
public boolean isAmountSpecified()
-
unsetAmount
public void unsetAmount()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getInvoiceId
public Long getInvoiceId()
-
setInvoiceId
public void setInvoiceId(Long invoiceId)
-
isInvoiceIdSpecified
public boolean isInvoiceIdSpecified()
-
unsetInvoiceId
public void unsetInvoiceId()
-
getTypeCode
public String getTypeCode()
-
setTypeCode
public void setTypeCode(String typeCode)
-
isTypeCodeSpecified
public boolean isTypeCodeSpecified()
-
unsetTypeCode
public void unsetTypeCode()
-
-