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.paypal.Transaction
-
@ApiType("SoftLayer_Billing_Payment_PayPal_Transaction") public class Transaction extends Transaction
The SoftLayer_Billing_Payment_PayPal_Transaction data type contains general information relating to attempted PayPal 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 PayPal and billing information is associated with.protected boolean
accountIdSpecified
protected String
addressCityName
City given in the address of the PayPal user.protected boolean
addressCityNameSpecified
protected String
addressCountry
Country given in the named address of the PayPal user.protected boolean
addressCountrySpecified
protected String
addressName
Name given to the address provided for the PayPal user.protected boolean
addressNameSpecified
protected String
addressPostalCode
Postal Code of the address of the PayPal user.protected boolean
addressPostalCodeSpecified
protected String
addressStateProvence
State or Province in the address of the PayPal user.protected boolean
addressStateProvenceSpecified
protected String
addressStatus
PayPal defined status of the address of the PayPal user.protected boolean
addressStatusSpecified
protected String
addressStreet1
First line of the street address of the PayPal user.protected boolean
addressStreet1Specified
protected String
addressStreet2
Second line of the street address of the PayPal user.protected boolean
addressStreet2Specified
protected String
contactPhone
Phone number provided for the PayPal user.protected boolean
contactPhoneSpecified
protected GregorianCalendar
createDate
The date that the transaction was attempted.protected boolean
createDateSpecified
protected String
exchangeRate
Exchange rate imposed on the payment amount.protected boolean
exchangeRateSpecified
protected BigDecimal
feeAmount
PayPal fee applied to the payment.protected boolean
feeAmountSpecified
protected BigDecimal
grossAmount
The total amount of the payment executed by PayPal, represented in decimal format as US Dollars ($USD).protected boolean
grossAmountSpecified
protected Long
id
The unique identifier for a single PayPal transaction request.protected boolean
idSpecified
protected Long
invoiceId
Unique identifier of the invoice to which funds will be applied.protected boolean
invoiceIdSpecified
protected String
lastPaypalCommand
The name of the command issued to PayPal with regards to the attempted transaction.protected boolean
lastPaypalCommandSpecified
protected GregorianCalendar
modifyDate
The date that the transaction was modified.protected boolean
modifyDateSpecified
protected Order
order
protected String
orderFromIpAddress
The IP address from where the PayPal payment request originated.protected boolean
orderFromIpAddressSpecified
protected BigDecimal
orderTotal
The amount of the payment submitted through the SoftLayer interface, represented in decimal format as US Dollars ($USD).protected boolean
orderTotalSpecified
protected String
payer
The PayPal user account name (email address) associated with the customer account.protected String
payerBusiness
The name of the business associated with the PayPal user.protected boolean
payerBusinessSpecified
protected String
payerCountry
Country given in the address of the PayPal user.protected boolean
payerCountrySpecified
protected String
payerFirstName
First name of the PayPal user.protected boolean
payerFirstNameSpecified
protected String
payerId
Unique PayPal user account identifier.protected boolean
payerIdSpecified
protected String
payerLastName
Last name of the PayPal user.protected boolean
payerLastNameSpecified
protected boolean
payerSpecified
protected String
payerStatus
Current PayPal status associated with the user account.protected boolean
payerStatusSpecified
protected GregorianCalendar
paymentDate
Date that the payment was confirmed in PayPal by the user.protected boolean
paymentDateSpecified
protected String
paymentStatus
PayPal defined status of the attempted payment.protected boolean
paymentStatusSpecified
protected String
paymentType
PayPal defined code used to identify the type of payment.protected boolean
paymentTypeSpecified
protected String
pendingReason
Reason provided by PayPal for a payment given a pending status.protected boolean
pendingReasonSpecified
protected String
serializedReply
A serialized, delimited string of the reply received from PayPal.protected boolean
serializedReplySpecified
protected String
serializedRequest
A serialized, delimited string of the request submitted to PayPal.protected boolean
serializedRequestSpecified
protected BigDecimal
settleAmount
PayPal defined fee.protected boolean
settleAmountSpecified
protected BigDecimal
taxAmount
Tax applied by PayPal to the payment amount.protected boolean
taxAmountSpecified
protected String
token
Value issued by PayPal for referencing the attempted transaction.protected boolean
tokenSpecified
protected String
transactionId
Unique transaction ID provided in a PayPal response.protected boolean
transactionIdSpecified
protected String
transactionType
PayPal defined code used to identify the type of transaction.protected boolean
transactionTypeSpecified
-
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 PayPal and billing information is associated with.
-
accountIdSpecified
protected boolean accountIdSpecified
-
addressCityName
@ApiProperty(canBeNullOrNotSet=true) protected String addressCityName
City given in the address of the PayPal user.
-
addressCityNameSpecified
protected boolean addressCityNameSpecified
-
addressCountry
@ApiProperty(canBeNullOrNotSet=true) protected String addressCountry
Country given in the named address of the PayPal user.
-
addressCountrySpecified
protected boolean addressCountrySpecified
-
addressName
@ApiProperty(canBeNullOrNotSet=true) protected String addressName
Name given to the address provided for the PayPal user.
-
addressNameSpecified
protected boolean addressNameSpecified
-
addressPostalCode
@ApiProperty(canBeNullOrNotSet=true) protected String addressPostalCode
Postal Code of the address of the PayPal user.
-
addressPostalCodeSpecified
protected boolean addressPostalCodeSpecified
-
addressStateProvence
@ApiProperty(canBeNullOrNotSet=true) protected String addressStateProvence
State or Province in the address of the PayPal user.
-
addressStateProvenceSpecified
protected boolean addressStateProvenceSpecified
-
addressStatus
@ApiProperty(canBeNullOrNotSet=true) protected String addressStatus
PayPal defined status of the address of the PayPal user.
-
addressStatusSpecified
protected boolean addressStatusSpecified
-
addressStreet1
@ApiProperty(canBeNullOrNotSet=true) protected String addressStreet1
First line of the street address of the PayPal user.
-
addressStreet1Specified
protected boolean addressStreet1Specified
-
addressStreet2
@ApiProperty(canBeNullOrNotSet=true) protected String addressStreet2
Second line of the street address of the PayPal user.
-
addressStreet2Specified
protected boolean addressStreet2Specified
-
contactPhone
@ApiProperty(canBeNullOrNotSet=true) protected String contactPhone
Phone number provided for the PayPal user.
-
contactPhoneSpecified
protected boolean contactPhoneSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date that the transaction was attempted.
-
createDateSpecified
protected boolean createDateSpecified
-
exchangeRate
@ApiProperty(canBeNullOrNotSet=true) protected String exchangeRate
Exchange rate imposed on the payment amount.
-
exchangeRateSpecified
protected boolean exchangeRateSpecified
-
feeAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal feeAmount
PayPal fee applied to the payment.
-
feeAmountSpecified
protected boolean feeAmountSpecified
-
grossAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal grossAmount
The total amount of the payment executed by PayPal, represented in decimal format as US Dollars ($USD).
-
grossAmountSpecified
protected boolean grossAmountSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier for a single PayPal 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
-
lastPaypalCommand
@ApiProperty(canBeNullOrNotSet=true) protected String lastPaypalCommand
The name of the command issued to PayPal with regards to the attempted transaction.
-
lastPaypalCommandSpecified
protected boolean lastPaypalCommandSpecified
-
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 where the PayPal payment request originated.
-
orderFromIpAddressSpecified
protected boolean orderFromIpAddressSpecified
-
orderTotal
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal orderTotal
The amount of the payment submitted through the SoftLayer interface, represented in decimal format as US Dollars ($USD).
-
orderTotalSpecified
protected boolean orderTotalSpecified
-
payer
@ApiProperty(canBeNullOrNotSet=true) protected String payer
The PayPal user account name (email address) associated with the customer account.
-
payerSpecified
protected boolean payerSpecified
-
payerBusiness
@ApiProperty(canBeNullOrNotSet=true) protected String payerBusiness
The name of the business associated with the PayPal user.
-
payerBusinessSpecified
protected boolean payerBusinessSpecified
-
payerCountry
@ApiProperty(canBeNullOrNotSet=true) protected String payerCountry
Country given in the address of the PayPal user.
-
payerCountrySpecified
protected boolean payerCountrySpecified
-
payerFirstName
@ApiProperty(canBeNullOrNotSet=true) protected String payerFirstName
First name of the PayPal user.
-
payerFirstNameSpecified
protected boolean payerFirstNameSpecified
-
payerId
@ApiProperty(canBeNullOrNotSet=true) protected String payerId
Unique PayPal user account identifier.
-
payerIdSpecified
protected boolean payerIdSpecified
-
payerLastName
@ApiProperty(canBeNullOrNotSet=true) protected String payerLastName
Last name of the PayPal user.
-
payerLastNameSpecified
protected boolean payerLastNameSpecified
-
payerStatus
@ApiProperty(canBeNullOrNotSet=true) protected String payerStatus
Current PayPal status associated with the user account.
-
payerStatusSpecified
protected boolean payerStatusSpecified
-
paymentDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar paymentDate
Date that the payment was confirmed in PayPal by the user.
-
paymentDateSpecified
protected boolean paymentDateSpecified
-
paymentStatus
@ApiProperty(canBeNullOrNotSet=true) protected String paymentStatus
PayPal defined status of the attempted payment.
-
paymentStatusSpecified
protected boolean paymentStatusSpecified
-
paymentType
@ApiProperty(canBeNullOrNotSet=true) protected String paymentType
PayPal defined code used to identify the type of payment. Provided in a PayPal response.
-
paymentTypeSpecified
protected boolean paymentTypeSpecified
-
pendingReason
@ApiProperty(canBeNullOrNotSet=true) protected String pendingReason
Reason provided by PayPal for a payment given a pending status.
-
pendingReasonSpecified
protected boolean pendingReasonSpecified
-
serializedReply
@ApiProperty(canBeNullOrNotSet=true) protected String serializedReply
A serialized, delimited string of the reply received from PayPal.
-
serializedReplySpecified
protected boolean serializedReplySpecified
-
serializedRequest
@ApiProperty(canBeNullOrNotSet=true) protected String serializedRequest
A serialized, delimited string of the request submitted to PayPal.
-
serializedRequestSpecified
protected boolean serializedRequestSpecified
-
settleAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal settleAmount
PayPal defined fee.
-
settleAmountSpecified
protected boolean settleAmountSpecified
-
taxAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal taxAmount
Tax applied by PayPal to the payment amount.
-
taxAmountSpecified
protected boolean taxAmountSpecified
-
token
@ApiProperty(canBeNullOrNotSet=true) protected String token
Value issued by PayPal for referencing the attempted transaction.
-
tokenSpecified
protected boolean tokenSpecified
-
transactionId
@ApiProperty(canBeNullOrNotSet=true) protected String transactionId
Unique transaction ID provided in a PayPal response.
-
transactionIdSpecified
protected boolean transactionIdSpecified
-
transactionType
@ApiProperty(canBeNullOrNotSet=true) protected String transactionType
PayPal defined code used to identify the type of transaction. Provided in a PayPal response.
-
transactionTypeSpecified
protected boolean transactionTypeSpecified
-
-
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()
-
getAddressCityName
public String getAddressCityName()
-
setAddressCityName
public void setAddressCityName(String addressCityName)
-
isAddressCityNameSpecified
public boolean isAddressCityNameSpecified()
-
unsetAddressCityName
public void unsetAddressCityName()
-
getAddressCountry
public String getAddressCountry()
-
setAddressCountry
public void setAddressCountry(String addressCountry)
-
isAddressCountrySpecified
public boolean isAddressCountrySpecified()
-
unsetAddressCountry
public void unsetAddressCountry()
-
getAddressName
public String getAddressName()
-
setAddressName
public void setAddressName(String addressName)
-
isAddressNameSpecified
public boolean isAddressNameSpecified()
-
unsetAddressName
public void unsetAddressName()
-
getAddressPostalCode
public String getAddressPostalCode()
-
setAddressPostalCode
public void setAddressPostalCode(String addressPostalCode)
-
isAddressPostalCodeSpecified
public boolean isAddressPostalCodeSpecified()
-
unsetAddressPostalCode
public void unsetAddressPostalCode()
-
getAddressStateProvence
public String getAddressStateProvence()
-
setAddressStateProvence
public void setAddressStateProvence(String addressStateProvence)
-
isAddressStateProvenceSpecified
public boolean isAddressStateProvenceSpecified()
-
unsetAddressStateProvence
public void unsetAddressStateProvence()
-
getAddressStatus
public String getAddressStatus()
-
setAddressStatus
public void setAddressStatus(String addressStatus)
-
isAddressStatusSpecified
public boolean isAddressStatusSpecified()
-
unsetAddressStatus
public void unsetAddressStatus()
-
getAddressStreet1
public String getAddressStreet1()
-
setAddressStreet1
public void setAddressStreet1(String addressStreet1)
-
isAddressStreet1Specified
public boolean isAddressStreet1Specified()
-
unsetAddressStreet1
public void unsetAddressStreet1()
-
getAddressStreet2
public String getAddressStreet2()
-
setAddressStreet2
public void setAddressStreet2(String addressStreet2)
-
isAddressStreet2Specified
public boolean isAddressStreet2Specified()
-
unsetAddressStreet2
public void unsetAddressStreet2()
-
getContactPhone
public String getContactPhone()
-
setContactPhone
public void setContactPhone(String contactPhone)
-
isContactPhoneSpecified
public boolean isContactPhoneSpecified()
-
unsetContactPhone
public void unsetContactPhone()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getExchangeRate
public String getExchangeRate()
-
setExchangeRate
public void setExchangeRate(String exchangeRate)
-
isExchangeRateSpecified
public boolean isExchangeRateSpecified()
-
unsetExchangeRate
public void unsetExchangeRate()
-
getFeeAmount
public BigDecimal getFeeAmount()
-
setFeeAmount
public void setFeeAmount(BigDecimal feeAmount)
-
isFeeAmountSpecified
public boolean isFeeAmountSpecified()
-
unsetFeeAmount
public void unsetFeeAmount()
-
getGrossAmount
public BigDecimal getGrossAmount()
-
setGrossAmount
public void setGrossAmount(BigDecimal grossAmount)
-
isGrossAmountSpecified
public boolean isGrossAmountSpecified()
-
unsetGrossAmount
public void unsetGrossAmount()
-
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()
-
getLastPaypalCommand
public String getLastPaypalCommand()
-
setLastPaypalCommand
public void setLastPaypalCommand(String lastPaypalCommand)
-
isLastPaypalCommandSpecified
public boolean isLastPaypalCommandSpecified()
-
unsetLastPaypalCommand
public void unsetLastPaypalCommand()
-
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()
-
getOrderTotal
public BigDecimal getOrderTotal()
-
setOrderTotal
public void setOrderTotal(BigDecimal orderTotal)
-
isOrderTotalSpecified
public boolean isOrderTotalSpecified()
-
unsetOrderTotal
public void unsetOrderTotal()
-
getPayer
public String getPayer()
-
setPayer
public void setPayer(String payer)
-
isPayerSpecified
public boolean isPayerSpecified()
-
unsetPayer
public void unsetPayer()
-
getPayerBusiness
public String getPayerBusiness()
-
setPayerBusiness
public void setPayerBusiness(String payerBusiness)
-
isPayerBusinessSpecified
public boolean isPayerBusinessSpecified()
-
unsetPayerBusiness
public void unsetPayerBusiness()
-
getPayerCountry
public String getPayerCountry()
-
setPayerCountry
public void setPayerCountry(String payerCountry)
-
isPayerCountrySpecified
public boolean isPayerCountrySpecified()
-
unsetPayerCountry
public void unsetPayerCountry()
-
getPayerFirstName
public String getPayerFirstName()
-
setPayerFirstName
public void setPayerFirstName(String payerFirstName)
-
isPayerFirstNameSpecified
public boolean isPayerFirstNameSpecified()
-
unsetPayerFirstName
public void unsetPayerFirstName()
-
getPayerId
public String getPayerId()
-
setPayerId
public void setPayerId(String payerId)
-
isPayerIdSpecified
public boolean isPayerIdSpecified()
-
unsetPayerId
public void unsetPayerId()
-
getPayerLastName
public String getPayerLastName()
-
setPayerLastName
public void setPayerLastName(String payerLastName)
-
isPayerLastNameSpecified
public boolean isPayerLastNameSpecified()
-
unsetPayerLastName
public void unsetPayerLastName()
-
getPayerStatus
public String getPayerStatus()
-
setPayerStatus
public void setPayerStatus(String payerStatus)
-
isPayerStatusSpecified
public boolean isPayerStatusSpecified()
-
unsetPayerStatus
public void unsetPayerStatus()
-
getPaymentDate
public GregorianCalendar getPaymentDate()
-
setPaymentDate
public void setPaymentDate(GregorianCalendar paymentDate)
-
isPaymentDateSpecified
public boolean isPaymentDateSpecified()
-
unsetPaymentDate
public void unsetPaymentDate()
-
getPaymentStatus
public String getPaymentStatus()
-
setPaymentStatus
public void setPaymentStatus(String paymentStatus)
-
isPaymentStatusSpecified
public boolean isPaymentStatusSpecified()
-
unsetPaymentStatus
public void unsetPaymentStatus()
-
getPaymentType
public String getPaymentType()
-
setPaymentType
public void setPaymentType(String paymentType)
-
isPaymentTypeSpecified
public boolean isPaymentTypeSpecified()
-
unsetPaymentType
public void unsetPaymentType()
-
getPendingReason
public String getPendingReason()
-
setPendingReason
public void setPendingReason(String pendingReason)
-
isPendingReasonSpecified
public boolean isPendingReasonSpecified()
-
unsetPendingReason
public void unsetPendingReason()
-
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()
-
getSettleAmount
public BigDecimal getSettleAmount()
-
setSettleAmount
public void setSettleAmount(BigDecimal settleAmount)
-
isSettleAmountSpecified
public boolean isSettleAmountSpecified()
-
unsetSettleAmount
public void unsetSettleAmount()
-
getTaxAmount
public BigDecimal getTaxAmount()
-
setTaxAmount
public void setTaxAmount(BigDecimal taxAmount)
-
isTaxAmountSpecified
public boolean isTaxAmountSpecified()
-
unsetTaxAmount
public void unsetTaxAmount()
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
isTokenSpecified
public boolean isTokenSpecified()
-
unsetToken
public void unsetToken()
-
getTransactionId
public String getTransactionId()
-
setTransactionId
public void setTransactionId(String transactionId)
-
isTransactionIdSpecified
public boolean isTransactionIdSpecified()
-
unsetTransactionId
public void unsetTransactionId()
-
getTransactionType
public String getTransactionType()
-
setTransactionType
public void setTransactionType(String transactionType)
-
isTransactionTypeSpecified
public boolean isTransactionTypeSpecified()
-
unsetTransactionType
public void unsetTransactionType()
-
-