Class Transaction
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.billing.payment.Transaction
-
- com.softlayer.api.service.billing.payment.card.Transaction
-
@ApiType("SoftLayer_Billing_Payment_Card_Transaction") public class Transaction extends Transaction
The SoftLayer_Billing_Payment_Card_Transaction data type contains general information relating to attempted credit card transactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Transaction.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account to which a transaction belongs.protected Long
accountId
The account ID to which the credit card and billing information is associated with.protected boolean
accountIdSpecified
protected BigDecimal
amount
The total amount of the attempted transaction, represented in decimal format as US Dollars ($USD).protected boolean
amountSpecified
protected String
billingAddressLine1
The physical street address.protected boolean
billingAddressLine1Specified
protected String
billingAddressLine2
The second line in the address.protected boolean
billingAddressLine2Specified
protected String
billingCity
The city in which a customer's account resides.protected boolean
billingCitySpecified
protected String
billingCountryCode
The 2-character Country code for an account's address.protected boolean
billingCountryCodeSpecified
protected String
billingEmail
The email address associated with a customer account.protected boolean
billingEmailSpecified
protected String
billingNameCompany
the company name for an account.protected boolean
billingNameCompanySpecified
protected String
billingNameFirst
The first name of the customer account owner.protected boolean
billingNameFirstSpecified
protected String
billingNameLast
The last name of the customer account owner.protected boolean
billingNameLastSpecified
protected String
billingPhoneFax
The fax number associated with a customer account.protected boolean
billingPhoneFaxSpecified
protected String
billingPhoneVoice
The phone number associated with a customer account.protected boolean
billingPhoneVoiceSpecified
protected String
billingPostalCode
The Zip or Postal Code for the billing address on an account.protected boolean
billingPostalCodeSpecified
protected String
billingState
The State for the account.protected boolean
billingStateSpecified
protected Long
cardAccountLast4
The last 4 digits of a customer's credit card.protected boolean
cardAccountLast4Specified
protected Long
cardExpirationMonth
The month (MM) in which a customer's payment card will expire.protected boolean
cardExpirationMonthSpecified
protected Long
cardExpirationYear
The year (YYYY) in which a customer's payment card will expire.protected boolean
cardExpirationYearSpecified
protected String
cardType
The type of payment issued (i.e.protected boolean
cardTypeSpecified
protected GregorianCalendar
createDate
The date that the transaction was attempted.protected boolean
createDateSpecified
protected Long
id
The unique identifier for a single credit card transaction request.protected boolean
idSpecified
protected Long
invoiceId
Unique identifier of the invoice to which funds will be applied.protected boolean
invoiceIdSpecified
protected GregorianCalendar
modifyDate
The date that the transaction was modified.protected boolean
modifyDateSpecified
protected Order
order
protected String
orderFromIpAddress
The IP address from which the transaction originates.protected boolean
orderFromIpAddressSpecified
protected String
referenceCode
A code used by the financial institution to refer to the requested transaction.protected boolean
referenceCodeSpecified
protected String
requestId
The unique identifier of the request submitted to the financial institution.protected boolean
requestIdSpecified
protected Long
returnStatus
The status code returned from the financial institution.protected boolean
returnStatusSpecified
protected String
serializedReply
A serialized, delimited string of the transaction request sent to the financial institution.protected boolean
serializedReplySpecified
protected String
serializedRequest
A serialized, delimited string of the transaction request sent to the financial institution.protected boolean
serializedRequestSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Transaction()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account to which a transaction belongs.
-
order
@ApiProperty protected Order order
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
The account ID to which the credit card and billing information is associated with.
-
accountIdSpecified
protected boolean accountIdSpecified
-
amount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal amount
The total amount of the attempted transaction, represented in decimal format as US Dollars ($USD).
-
amountSpecified
protected boolean amountSpecified
-
billingAddressLine1
@ApiProperty(canBeNullOrNotSet=true) protected String billingAddressLine1
The physical street address. Reserve information such as "apartment #123" or "Suite 2" for line 1.
-
billingAddressLine1Specified
protected boolean billingAddressLine1Specified
-
billingAddressLine2
@ApiProperty(canBeNullOrNotSet=true) protected String billingAddressLine2
The second line in the address. Information such as suite number goes here.
-
billingAddressLine2Specified
protected boolean billingAddressLine2Specified
-
billingCity
@ApiProperty(canBeNullOrNotSet=true) protected String billingCity
The city in which a customer's account resides.
-
billingCitySpecified
protected boolean billingCitySpecified
-
billingCountryCode
@ApiProperty(canBeNullOrNotSet=true) protected String billingCountryCode
The 2-character Country code for an account's address. (i.e. US)
-
billingCountryCodeSpecified
protected boolean billingCountryCodeSpecified
-
billingEmail
@ApiProperty(canBeNullOrNotSet=true) protected String billingEmail
The email address associated with a customer account.
-
billingEmailSpecified
protected boolean billingEmailSpecified
-
billingNameCompany
@ApiProperty(canBeNullOrNotSet=true) protected String billingNameCompany
the company name for an account.
-
billingNameCompanySpecified
protected boolean billingNameCompanySpecified
-
billingNameFirst
@ApiProperty(canBeNullOrNotSet=true) protected String billingNameFirst
The first name of the customer account owner.
-
billingNameFirstSpecified
protected boolean billingNameFirstSpecified
-
billingNameLast
@ApiProperty(canBeNullOrNotSet=true) protected String billingNameLast
The last name of the customer account owner.
-
billingNameLastSpecified
protected boolean billingNameLastSpecified
-
billingPhoneFax
@ApiProperty(canBeNullOrNotSet=true) protected String billingPhoneFax
The fax number associated with a customer account.
-
billingPhoneFaxSpecified
protected boolean billingPhoneFaxSpecified
-
billingPhoneVoice
@ApiProperty(canBeNullOrNotSet=true) protected String billingPhoneVoice
The phone number associated with a customer account.
-
billingPhoneVoiceSpecified
protected boolean billingPhoneVoiceSpecified
-
billingPostalCode
@ApiProperty(canBeNullOrNotSet=true) protected String billingPostalCode
The Zip or Postal Code for the billing address on an account.
-
billingPostalCodeSpecified
protected boolean billingPostalCodeSpecified
-
billingState
@ApiProperty(canBeNullOrNotSet=true) protected String billingState
The State for the account.
-
billingStateSpecified
protected boolean billingStateSpecified
-
cardAccountLast4
@ApiProperty(canBeNullOrNotSet=true) protected Long cardAccountLast4
The last 4 digits of a customer's credit card.
-
cardAccountLast4Specified
protected boolean cardAccountLast4Specified
-
cardExpirationMonth
@ApiProperty(canBeNullOrNotSet=true) protected Long cardExpirationMonth
The month (MM) in which a customer's payment card will expire.
-
cardExpirationMonthSpecified
protected boolean cardExpirationMonthSpecified
-
cardExpirationYear
@ApiProperty(canBeNullOrNotSet=true) protected Long cardExpirationYear
The year (YYYY) in which a customer's payment card will expire.
-
cardExpirationYearSpecified
protected boolean cardExpirationYearSpecified
-
cardType
@ApiProperty(canBeNullOrNotSet=true) protected String cardType
The type of payment issued (i.e. Visa, MasterCard, American Express).
-
cardTypeSpecified
protected boolean cardTypeSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date that the transaction was attempted.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier for a single credit card transaction request.
-
idSpecified
protected boolean idSpecified
-
invoiceId
@ApiProperty(canBeNullOrNotSet=true) protected Long invoiceId
Unique identifier of the invoice to which funds will be applied.
-
invoiceIdSpecified
protected boolean invoiceIdSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date that the transaction was modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
orderFromIpAddress
@ApiProperty(canBeNullOrNotSet=true) protected String orderFromIpAddress
The IP address from which the transaction originates.
-
orderFromIpAddressSpecified
protected boolean orderFromIpAddressSpecified
-
referenceCode
@ApiProperty(canBeNullOrNotSet=true) protected String referenceCode
A code used by the financial institution to refer to the requested transaction.
-
referenceCodeSpecified
protected boolean referenceCodeSpecified
-
requestId
@ApiProperty(canBeNullOrNotSet=true) protected String requestId
The unique identifier of the request submitted to the financial institution.
-
requestIdSpecified
protected boolean requestIdSpecified
-
returnStatus
@ApiProperty(canBeNullOrNotSet=true) protected Long returnStatus
The status code returned from the financial institution.
-
returnStatusSpecified
protected boolean returnStatusSpecified
-
serializedReply
@ApiProperty(canBeNullOrNotSet=true) protected String serializedReply
A serialized, delimited string of the transaction request sent to the financial institution.
-
serializedReplySpecified
protected boolean serializedReplySpecified
-
serializedRequest
@ApiProperty(canBeNullOrNotSet=true) protected String serializedRequest
A serialized, delimited string of the transaction request sent to the financial institution.
-
serializedRequestSpecified
protected boolean serializedRequestSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getOrder
public Order getOrder()
-
setOrder
public void setOrder(Order order)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
isAmountSpecified
public boolean isAmountSpecified()
-
unsetAmount
public void unsetAmount()
-
getBillingAddressLine1
public String getBillingAddressLine1()
-
setBillingAddressLine1
public void setBillingAddressLine1(String billingAddressLine1)
-
isBillingAddressLine1Specified
public boolean isBillingAddressLine1Specified()
-
unsetBillingAddressLine1
public void unsetBillingAddressLine1()
-
getBillingAddressLine2
public String getBillingAddressLine2()
-
setBillingAddressLine2
public void setBillingAddressLine2(String billingAddressLine2)
-
isBillingAddressLine2Specified
public boolean isBillingAddressLine2Specified()
-
unsetBillingAddressLine2
public void unsetBillingAddressLine2()
-
getBillingCity
public String getBillingCity()
-
setBillingCity
public void setBillingCity(String billingCity)
-
isBillingCitySpecified
public boolean isBillingCitySpecified()
-
unsetBillingCity
public void unsetBillingCity()
-
getBillingCountryCode
public String getBillingCountryCode()
-
setBillingCountryCode
public void setBillingCountryCode(String billingCountryCode)
-
isBillingCountryCodeSpecified
public boolean isBillingCountryCodeSpecified()
-
unsetBillingCountryCode
public void unsetBillingCountryCode()
-
getBillingEmail
public String getBillingEmail()
-
setBillingEmail
public void setBillingEmail(String billingEmail)
-
isBillingEmailSpecified
public boolean isBillingEmailSpecified()
-
unsetBillingEmail
public void unsetBillingEmail()
-
getBillingNameCompany
public String getBillingNameCompany()
-
setBillingNameCompany
public void setBillingNameCompany(String billingNameCompany)
-
isBillingNameCompanySpecified
public boolean isBillingNameCompanySpecified()
-
unsetBillingNameCompany
public void unsetBillingNameCompany()
-
getBillingNameFirst
public String getBillingNameFirst()
-
setBillingNameFirst
public void setBillingNameFirst(String billingNameFirst)
-
isBillingNameFirstSpecified
public boolean isBillingNameFirstSpecified()
-
unsetBillingNameFirst
public void unsetBillingNameFirst()
-
getBillingNameLast
public String getBillingNameLast()
-
setBillingNameLast
public void setBillingNameLast(String billingNameLast)
-
isBillingNameLastSpecified
public boolean isBillingNameLastSpecified()
-
unsetBillingNameLast
public void unsetBillingNameLast()
-
getBillingPhoneFax
public String getBillingPhoneFax()
-
setBillingPhoneFax
public void setBillingPhoneFax(String billingPhoneFax)
-
isBillingPhoneFaxSpecified
public boolean isBillingPhoneFaxSpecified()
-
unsetBillingPhoneFax
public void unsetBillingPhoneFax()
-
getBillingPhoneVoice
public String getBillingPhoneVoice()
-
setBillingPhoneVoice
public void setBillingPhoneVoice(String billingPhoneVoice)
-
isBillingPhoneVoiceSpecified
public boolean isBillingPhoneVoiceSpecified()
-
unsetBillingPhoneVoice
public void unsetBillingPhoneVoice()
-
getBillingPostalCode
public String getBillingPostalCode()
-
setBillingPostalCode
public void setBillingPostalCode(String billingPostalCode)
-
isBillingPostalCodeSpecified
public boolean isBillingPostalCodeSpecified()
-
unsetBillingPostalCode
public void unsetBillingPostalCode()
-
getBillingState
public String getBillingState()
-
setBillingState
public void setBillingState(String billingState)
-
isBillingStateSpecified
public boolean isBillingStateSpecified()
-
unsetBillingState
public void unsetBillingState()
-
getCardAccountLast4
public Long getCardAccountLast4()
-
setCardAccountLast4
public void setCardAccountLast4(Long cardAccountLast4)
-
isCardAccountLast4Specified
public boolean isCardAccountLast4Specified()
-
unsetCardAccountLast4
public void unsetCardAccountLast4()
-
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()
-
getCardType
public String getCardType()
-
setCardType
public void setCardType(String cardType)
-
isCardTypeSpecified
public boolean isCardTypeSpecified()
-
unsetCardType
public void unsetCardType()
-
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()
-
getInvoiceId
public Long getInvoiceId()
-
setInvoiceId
public void setInvoiceId(Long invoiceId)
-
isInvoiceIdSpecified
public boolean isInvoiceIdSpecified()
-
unsetInvoiceId
public void unsetInvoiceId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getOrderFromIpAddress
public String getOrderFromIpAddress()
-
setOrderFromIpAddress
public void setOrderFromIpAddress(String orderFromIpAddress)
-
isOrderFromIpAddressSpecified
public boolean isOrderFromIpAddressSpecified()
-
unsetOrderFromIpAddress
public void unsetOrderFromIpAddress()
-
getReferenceCode
public String getReferenceCode()
-
setReferenceCode
public void setReferenceCode(String referenceCode)
-
isReferenceCodeSpecified
public boolean isReferenceCodeSpecified()
-
unsetReferenceCode
public void unsetReferenceCode()
-
getRequestId
public String getRequestId()
-
setRequestId
public void setRequestId(String requestId)
-
isRequestIdSpecified
public boolean isRequestIdSpecified()
-
unsetRequestId
public void unsetRequestId()
-
getReturnStatus
public Long getReturnStatus()
-
setReturnStatus
public void setReturnStatus(Long returnStatus)
-
isReturnStatusSpecified
public boolean isReturnStatusSpecified()
-
unsetReturnStatus
public void unsetReturnStatus()
-
getSerializedReply
public String getSerializedReply()
-
setSerializedReply
public void setSerializedReply(String serializedReply)
-
isSerializedReplySpecified
public boolean isSerializedReplySpecified()
-
unsetSerializedReply
public void unsetSerializedReply()
-
getSerializedRequest
public String getSerializedRequest()
-
setSerializedRequest
public void setSerializedRequest(String serializedRequest)
-
isSerializedRequestSpecified
public boolean isSerializedRequestSpecified()
-
unsetSerializedRequest
public void unsetSerializedRequest()
-
-