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