Class Info
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.billing.Info
-
@ApiType("SoftLayer_Billing_Info") public class Info extends Entity
Every SoftLayer customer account has billing specific information which is kept in the SoftLayer_Billing_Info data type. This information is used by the SoftLayer accounting group when sending invoices and making billing inquiries.- See Also:
- SoftLayer_Billing_Info
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Info.Mask
static interface
Info.Service
SoftLayer billing info contains company billing information such as the last date a payment was made and the last time any billing information was update.static interface
Info.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The SoftLayer customer account associated with this billing information.protected Long
accountId
A SoftLayer account's identifier.protected boolean
accountIdSpecified
protected List<Ach>
achInformation
protected Long
achInformationCount
A count ofprotected Long
anniversaryDayOfMonth
The day of the month that a SoftLayer customer is billed.protected boolean
anniversaryDayOfMonthSpecified
protected String
cardAccountNumber
This value doesn't persist to this object.protected boolean
cardAccountNumberSpecified
protected Long
cardExpirationMonth
the expiration month of the credit card on fileprotected boolean
cardExpirationMonthSpecified
protected Long
cardExpirationYear
the expiration year of the credit card on fileprotected boolean
cardExpirationYearSpecified
protected String
cardNickname
protected boolean
cardNicknameSpecified
protected String
cardType
the type of the credit card on fileprotected boolean
cardTypeSpecified
protected String
cardVerificationNumber
This value doesn't persist to this object.protected boolean
cardVerificationNumberSpecified
protected GregorianCalendar
createDate
The date a customer's billing information was created.protected boolean
createDateSpecified
protected Currency
currency
Currency to be used by this customer account.protected Cycle
currentBillingCycle
Information related to an account's current and previous billing cycles.protected Long
id
A SoftLayer customer's billing information identifier.protected boolean
idSpecified
protected GregorianCalendar
lastBillDate
The date on which an account was last billed.protected Long
lastFourPaymentCardDigits
The last four digits of the credit card currently on the account.protected boolean
lastFourPaymentCardDigitsSpecified
protected GregorianCalendar
lastPaymentDate
The date of the last payment received by SoftLayer from the account holder.protected boolean
lastPaymentDateSpecified
protected GregorianCalendar
modifyDate
The date a customer's billing information was last modified.protected boolean
modifyDateSpecified
protected GregorianCalendar
nextBillDate
The date on which an account will be billed next.protected Long
paymentTerms
The payment terms for an account.protected boolean
paymentTermsSpecified
protected Long
percentDiscountOnetime
The percentage discount received on all one-time charges on a customer's monthly bill.protected boolean
percentDiscountOnetimeSpecified
protected Long
percentDiscountRecurring
The percentage discount received on all recurring charges on a customer's monthly bill.protected boolean
percentDiscountRecurringSpecified
protected Long
sparePoolAmount
The total recurring fee amount for servers that are in the spare pool status.protected boolean
sparePoolAmountSpecified
protected String
taxCertificateId
protected boolean
taxCertificateIdSpecified
protected String
vatId
protected boolean
vatIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Info()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The SoftLayer customer account associated with this billing information.
-
achInformation
@ApiProperty protected List<Ach> achInformation
-
currency
@ApiProperty protected Currency currency
Currency to be used by this customer account.
-
currentBillingCycle
@ApiProperty protected Cycle currentBillingCycle
Information related to an account's current and previous billing cycles.
-
lastBillDate
@ApiProperty protected GregorianCalendar lastBillDate
The date on which an account was last billed.
-
nextBillDate
@ApiProperty protected GregorianCalendar nextBillDate
The date on which an account will be billed next.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
A SoftLayer account's identifier.
-
accountIdSpecified
protected boolean accountIdSpecified
-
anniversaryDayOfMonth
@ApiProperty(canBeNullOrNotSet=true) protected Long anniversaryDayOfMonth
The day of the month that a SoftLayer customer is billed.
-
anniversaryDayOfMonthSpecified
protected boolean anniversaryDayOfMonthSpecified
-
cardAccountNumber
@ApiProperty(canBeNullOrNotSet=true) protected String cardAccountNumber
This value doesn't persist to this object. It's used as part of the account creation process only;
-
cardAccountNumberSpecified
protected boolean cardAccountNumberSpecified
-
cardExpirationMonth
@ApiProperty(canBeNullOrNotSet=true) protected Long cardExpirationMonth
the expiration month of the credit card on file
-
cardExpirationMonthSpecified
protected boolean cardExpirationMonthSpecified
-
cardExpirationYear
@ApiProperty(canBeNullOrNotSet=true) protected Long cardExpirationYear
the expiration year of the credit card on file
-
cardExpirationYearSpecified
protected boolean cardExpirationYearSpecified
-
cardNickname
@ApiProperty(canBeNullOrNotSet=true) protected String cardNickname
-
cardNicknameSpecified
protected boolean cardNicknameSpecified
-
cardType
@ApiProperty(canBeNullOrNotSet=true) protected String cardType
the type of the credit card on file
-
cardTypeSpecified
protected boolean cardTypeSpecified
-
cardVerificationNumber
@ApiProperty(canBeNullOrNotSet=true) protected String cardVerificationNumber
This value doesn't persist to this object. It's used as part of the account creation process only.
-
cardVerificationNumberSpecified
protected boolean cardVerificationNumberSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date a customer's billing information was created.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A SoftLayer customer's billing information identifier.
-
idSpecified
protected boolean idSpecified
-
lastFourPaymentCardDigits
@ApiProperty(canBeNullOrNotSet=true) protected Long lastFourPaymentCardDigits
The last four digits of the credit card currently on the account. This is the only portion of the card that we store. For Paypal customers, this value will be empty.
-
lastFourPaymentCardDigitsSpecified
protected boolean lastFourPaymentCardDigitsSpecified
-
lastPaymentDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar lastPaymentDate
The date of the last payment received by SoftLayer from the account holder.
-
lastPaymentDateSpecified
protected boolean lastPaymentDateSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date a customer's billing information was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
paymentTerms
@ApiProperty(canBeNullOrNotSet=true) protected Long paymentTerms
The payment terms for an account.
-
paymentTermsSpecified
protected boolean paymentTermsSpecified
-
percentDiscountOnetime
@ApiProperty(canBeNullOrNotSet=true) protected Long percentDiscountOnetime
The percentage discount received on all one-time charges on a customer's monthly bill.
-
percentDiscountOnetimeSpecified
protected boolean percentDiscountOnetimeSpecified
-
percentDiscountRecurring
@ApiProperty(canBeNullOrNotSet=true) protected Long percentDiscountRecurring
The percentage discount received on all recurring charges on a customer's monthly bill.
-
percentDiscountRecurringSpecified
protected boolean percentDiscountRecurringSpecified
-
sparePoolAmount
@ApiProperty(canBeNullOrNotSet=true) protected Long sparePoolAmount
The total recurring fee amount for servers that are in the spare pool status.
-
sparePoolAmountSpecified
protected boolean sparePoolAmountSpecified
-
taxCertificateId
@ApiProperty(canBeNullOrNotSet=true) protected String taxCertificateId
-
taxCertificateIdSpecified
protected boolean taxCertificateIdSpecified
-
vatId
@ApiProperty(canBeNullOrNotSet=true) protected String vatId
-
vatIdSpecified
protected boolean vatIdSpecified
-
achInformationCount
@ApiProperty protected Long achInformationCount
A count of
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCurrency
public Currency getCurrency()
-
setCurrency
public void setCurrency(Currency currency)
-
getCurrentBillingCycle
public Cycle getCurrentBillingCycle()
-
setCurrentBillingCycle
public void setCurrentBillingCycle(Cycle currentBillingCycle)
-
getLastBillDate
public GregorianCalendar getLastBillDate()
-
setLastBillDate
public void setLastBillDate(GregorianCalendar lastBillDate)
-
getNextBillDate
public GregorianCalendar getNextBillDate()
-
setNextBillDate
public void setNextBillDate(GregorianCalendar nextBillDate)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getAnniversaryDayOfMonth
public Long getAnniversaryDayOfMonth()
-
setAnniversaryDayOfMonth
public void setAnniversaryDayOfMonth(Long anniversaryDayOfMonth)
-
isAnniversaryDayOfMonthSpecified
public boolean isAnniversaryDayOfMonthSpecified()
-
unsetAnniversaryDayOfMonth
public void unsetAnniversaryDayOfMonth()
-
getCardAccountNumber
public String getCardAccountNumber()
-
setCardAccountNumber
public void setCardAccountNumber(String cardAccountNumber)
-
isCardAccountNumberSpecified
public boolean isCardAccountNumberSpecified()
-
unsetCardAccountNumber
public void unsetCardAccountNumber()
-
getCardExpirationMonth
public Long getCardExpirationMonth()
-
setCardExpirationMonth
public void setCardExpirationMonth(Long cardExpirationMonth)
-
isCardExpirationMonthSpecified
public boolean isCardExpirationMonthSpecified()
-
unsetCardExpirationMonth
public void unsetCardExpirationMonth()
-
getCardExpirationYear
public Long getCardExpirationYear()
-
setCardExpirationYear
public void setCardExpirationYear(Long cardExpirationYear)
-
isCardExpirationYearSpecified
public boolean isCardExpirationYearSpecified()
-
unsetCardExpirationYear
public void unsetCardExpirationYear()
-
getCardNickname
public String getCardNickname()
-
setCardNickname
public void setCardNickname(String cardNickname)
-
isCardNicknameSpecified
public boolean isCardNicknameSpecified()
-
unsetCardNickname
public void unsetCardNickname()
-
getCardType
public String getCardType()
-
setCardType
public void setCardType(String cardType)
-
isCardTypeSpecified
public boolean isCardTypeSpecified()
-
unsetCardType
public void unsetCardType()
-
getCardVerificationNumber
public String getCardVerificationNumber()
-
setCardVerificationNumber
public void setCardVerificationNumber(String cardVerificationNumber)
-
isCardVerificationNumberSpecified
public boolean isCardVerificationNumberSpecified()
-
unsetCardVerificationNumber
public void unsetCardVerificationNumber()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getLastFourPaymentCardDigits
public Long getLastFourPaymentCardDigits()
-
setLastFourPaymentCardDigits
public void setLastFourPaymentCardDigits(Long lastFourPaymentCardDigits)
-
isLastFourPaymentCardDigitsSpecified
public boolean isLastFourPaymentCardDigitsSpecified()
-
unsetLastFourPaymentCardDigits
public void unsetLastFourPaymentCardDigits()
-
getLastPaymentDate
public GregorianCalendar getLastPaymentDate()
-
setLastPaymentDate
public void setLastPaymentDate(GregorianCalendar lastPaymentDate)
-
isLastPaymentDateSpecified
public boolean isLastPaymentDateSpecified()
-
unsetLastPaymentDate
public void unsetLastPaymentDate()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getPaymentTerms
public Long getPaymentTerms()
-
setPaymentTerms
public void setPaymentTerms(Long paymentTerms)
-
isPaymentTermsSpecified
public boolean isPaymentTermsSpecified()
-
unsetPaymentTerms
public void unsetPaymentTerms()
-
getPercentDiscountOnetime
public Long getPercentDiscountOnetime()
-
setPercentDiscountOnetime
public void setPercentDiscountOnetime(Long percentDiscountOnetime)
-
isPercentDiscountOnetimeSpecified
public boolean isPercentDiscountOnetimeSpecified()
-
unsetPercentDiscountOnetime
public void unsetPercentDiscountOnetime()
-
getPercentDiscountRecurring
public Long getPercentDiscountRecurring()
-
setPercentDiscountRecurring
public void setPercentDiscountRecurring(Long percentDiscountRecurring)
-
isPercentDiscountRecurringSpecified
public boolean isPercentDiscountRecurringSpecified()
-
unsetPercentDiscountRecurring
public void unsetPercentDiscountRecurring()
-
getSparePoolAmount
public Long getSparePoolAmount()
-
setSparePoolAmount
public void setSparePoolAmount(Long sparePoolAmount)
-
isSparePoolAmountSpecified
public boolean isSparePoolAmountSpecified()
-
unsetSparePoolAmount
public void unsetSparePoolAmount()
-
getTaxCertificateId
public String getTaxCertificateId()
-
setTaxCertificateId
public void setTaxCertificateId(String taxCertificateId)
-
isTaxCertificateIdSpecified
public boolean isTaxCertificateIdSpecified()
-
unsetTaxCertificateId
public void unsetTaxCertificateId()
-
getVatId
public String getVatId()
-
setVatId
public void setVatId(String vatId)
-
isVatIdSpecified
public boolean isVatIdSpecified()
-
unsetVatId
public void unsetVatId()
-
getAchInformationCount
public Long getAchInformationCount()
-
setAchInformationCount
public void setAchInformationCount(Long achInformationCount)
-
asService
public Info.Service asService(ApiClient client)
-
service
public static Info.Service service(ApiClient client)
-
service
public static Info.Service service(ApiClient client, Long id)
-
-