Package net.authorize.api.contract.v1
Class TransactionRequestType
- java.lang.Object
-
- net.authorize.api.contract.v1.TransactionRequestType
-
public class TransactionRequestType extends Object
Java class for transactionRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="transactionRequestType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="transactionType" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="currencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="payment" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentType" minOccurs="0"/> <element name="profile" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerProfilePaymentType" minOccurs="0"/> <element name="solution" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}solutionType" minOccurs="0"/> <element name="callId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="terminalNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="authCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="refTransId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="splitTenderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="order" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}orderType" minOccurs="0"/> <element name="lineItems" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfLineItem" minOccurs="0"/> <element name="tax" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/> <element name="duty" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/> <element name="shipping" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/> <element name="taxExempt" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}boolean"> </restriction> </simpleType> </element> <element name="poNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="customer" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerDataType" minOccurs="0"/> <element name="billTo" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}customerAddressType" minOccurs="0"/> <element name="shipTo" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}nameAndAddressType" minOccurs="0"/> <element name="customerIP" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="cardholderAuthentication" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ccAuthenticationType" minOccurs="0"/> <element name="retail" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}transRetailInfoType" minOccurs="0"/> <element name="employeeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="transactionSettings" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSetting" minOccurs="0"/> <element name="userFields" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="userField" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}userField" maxOccurs="20" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="surcharge" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/> <element name="merchantDescriptor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="subMerchant" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}subMerchantType" minOccurs="0"/> <element name="tip" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}extendedAmountType" minOccurs="0"/> <element name="processingOptions" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}processingOptions" minOccurs="0"/> <element name="subsequentAuthInformation" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}subsequentAuthInformation" minOccurs="0"/> <element name="otherTax" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}otherTaxType" minOccurs="0"/> <element name="shipFrom" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}nameAndAddressType" minOccurs="0"/> <element name="authorizationIndicatorType" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}authorizationIndicatorType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionRequestType.UserFieldsJava class for anonymous complex type.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TransactionRequestType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAmount()Gets the value of the amount property.StringgetAuthCode()Gets the value of the authCode property.AuthorizationIndicatorTypegetAuthorizationIndicatorType()Gets the value of the authorizationIndicatorType property.CustomerAddressTypegetBillTo()Gets the value of the billTo property.StringgetCallId()Gets the value of the callId property.CcAuthenticationTypegetCardholderAuthentication()Gets the value of the cardholderAuthentication property.StringgetCurrencyCode()Gets the value of the currencyCode property.CustomerDataTypegetCustomer()Gets the value of the customer property.StringgetCustomerIP()Gets the value of the customerIP property.ExtendedAmountTypegetDuty()Gets the value of the duty property.StringgetEmployeeId()Gets the value of the employeeId property.ArrayOfLineItemgetLineItems()Gets the value of the lineItems property.StringgetMerchantDescriptor()Gets the value of the merchantDescriptor property.OrderTypegetOrder()Gets the value of the order property.OtherTaxTypegetOtherTax()Gets the value of the otherTax property.PaymentTypegetPayment()Gets the value of the payment property.StringgetPoNumber()Gets the value of the poNumber property.ProcessingOptionsgetProcessingOptions()Gets the value of the processingOptions property.CustomerProfilePaymentTypegetProfile()Gets the value of the profile property.StringgetRefTransId()Gets the value of the refTransId property.TransRetailInfoTypegetRetail()Gets the value of the retail property.NameAndAddressTypegetShipFrom()Gets the value of the shipFrom property.ExtendedAmountTypegetShipping()Gets the value of the shipping property.NameAndAddressTypegetShipTo()Gets the value of the shipTo property.SolutionTypegetSolution()Gets the value of the solution property.StringgetSplitTenderId()Gets the value of the splitTenderId property.SubMerchantTypegetSubMerchant()Gets the value of the subMerchant property.SubsequentAuthInformationgetSubsequentAuthInformation()Gets the value of the subsequentAuthInformation property.ExtendedAmountTypegetSurcharge()Gets the value of the surcharge property.ExtendedAmountTypegetTax()Gets the value of the tax property.StringgetTerminalNumber()Gets the value of the terminalNumber property.ExtendedAmountTypegetTip()Gets the value of the tip property.ArrayOfSettinggetTransactionSettings()Gets the value of the transactionSettings property.StringgetTransactionType()Gets the value of the transactionType property.TransactionRequestType.UserFieldsgetUserFields()Gets the value of the userFields property.BooleanisTaxExempt()Gets the value of the taxExempt property.voidsetAmount(BigDecimal value)Sets the value of the amount property.voidsetAuthCode(String value)Sets the value of the authCode property.voidsetAuthorizationIndicatorType(AuthorizationIndicatorType value)Sets the value of the authorizationIndicatorType property.voidsetBillTo(CustomerAddressType value)Sets the value of the billTo property.voidsetCallId(String value)Sets the value of the callId property.voidsetCardholderAuthentication(CcAuthenticationType value)Sets the value of the cardholderAuthentication property.voidsetCurrencyCode(String value)Sets the value of the currencyCode property.voidsetCustomer(CustomerDataType value)Sets the value of the customer property.voidsetCustomerIP(String value)Sets the value of the customerIP property.voidsetDuty(ExtendedAmountType value)Sets the value of the duty property.voidsetEmployeeId(String value)Sets the value of the employeeId property.voidsetLineItems(ArrayOfLineItem value)Sets the value of the lineItems property.voidsetMerchantDescriptor(String value)Sets the value of the merchantDescriptor property.voidsetOrder(OrderType value)Sets the value of the order property.voidsetOtherTax(OtherTaxType value)Sets the value of the otherTax property.voidsetPayment(PaymentType value)Sets the value of the payment property.voidsetPoNumber(String value)Sets the value of the poNumber property.voidsetProcessingOptions(ProcessingOptions value)Sets the value of the processingOptions property.voidsetProfile(CustomerProfilePaymentType value)Sets the value of the profile property.voidsetRefTransId(String value)Sets the value of the refTransId property.voidsetRetail(TransRetailInfoType value)Sets the value of the retail property.voidsetShipFrom(NameAndAddressType value)Sets the value of the shipFrom property.voidsetShipping(ExtendedAmountType value)Sets the value of the shipping property.voidsetShipTo(NameAndAddressType value)Sets the value of the shipTo property.voidsetSolution(SolutionType value)Sets the value of the solution property.voidsetSplitTenderId(String value)Sets the value of the splitTenderId property.voidsetSubMerchant(SubMerchantType value)Sets the value of the subMerchant property.voidsetSubsequentAuthInformation(SubsequentAuthInformation value)Sets the value of the subsequentAuthInformation property.voidsetSurcharge(ExtendedAmountType value)Sets the value of the surcharge property.voidsetTax(ExtendedAmountType value)Sets the value of the tax property.voidsetTaxExempt(Boolean value)Sets the value of the taxExempt property.voidsetTerminalNumber(String value)Sets the value of the terminalNumber property.voidsetTip(ExtendedAmountType value)Sets the value of the tip property.voidsetTransactionSettings(ArrayOfSetting value)Sets the value of the transactionSettings property.voidsetTransactionType(String value)Sets the value of the transactionType property.voidsetUserFields(TransactionRequestType.UserFields value)Sets the value of the userFields property.
-
-
-
Field Detail
-
transactionType
protected String transactionType
-
amount
protected BigDecimal amount
-
currencyCode
protected String currencyCode
-
payment
protected PaymentType payment
-
profile
protected CustomerProfilePaymentType profile
-
solution
protected SolutionType solution
-
callId
protected String callId
-
terminalNumber
protected String terminalNumber
-
authCode
protected String authCode
-
refTransId
protected String refTransId
-
splitTenderId
protected String splitTenderId
-
order
protected OrderType order
-
lineItems
protected ArrayOfLineItem lineItems
-
tax
protected ExtendedAmountType tax
-
duty
protected ExtendedAmountType duty
-
shipping
protected ExtendedAmountType shipping
-
taxExempt
protected Boolean taxExempt
-
poNumber
protected String poNumber
-
customer
protected CustomerDataType customer
-
billTo
protected CustomerAddressType billTo
-
shipTo
protected NameAndAddressType shipTo
-
customerIP
protected String customerIP
-
cardholderAuthentication
protected CcAuthenticationType cardholderAuthentication
-
retail
protected TransRetailInfoType retail
-
employeeId
protected String employeeId
-
transactionSettings
protected ArrayOfSetting transactionSettings
-
userFields
protected TransactionRequestType.UserFields userFields
-
surcharge
protected ExtendedAmountType surcharge
-
merchantDescriptor
protected String merchantDescriptor
-
subMerchant
protected SubMerchantType subMerchant
-
tip
protected ExtendedAmountType tip
-
processingOptions
protected ProcessingOptions processingOptions
-
subsequentAuthInformation
protected SubsequentAuthInformation subsequentAuthInformation
-
otherTax
protected OtherTaxType otherTax
-
shipFrom
protected NameAndAddressType shipFrom
-
authorizationIndicatorType
protected AuthorizationIndicatorType authorizationIndicatorType
-
-
Method Detail
-
getTransactionType
public String getTransactionType()
Gets the value of the transactionType property.- Returns:
- possible object is
String
-
setTransactionType
public void setTransactionType(String value)
Sets the value of the transactionType property.- Parameters:
value- allowed object isString
-
getAmount
public BigDecimal getAmount()
Gets the value of the amount property.- Returns:
- possible object is
BigDecimal
-
setAmount
public void setAmount(BigDecimal value)
Sets the value of the amount property.- Parameters:
value- allowed object isBigDecimal
-
getCurrencyCode
public String getCurrencyCode()
Gets the value of the currencyCode property.- Returns:
- possible object is
String
-
setCurrencyCode
public void setCurrencyCode(String value)
Sets the value of the currencyCode property.- Parameters:
value- allowed object isString
-
getPayment
public PaymentType getPayment()
Gets the value of the payment property.- Returns:
- possible object is
PaymentType
-
setPayment
public void setPayment(PaymentType value)
Sets the value of the payment property.- Parameters:
value- allowed object isPaymentType
-
getProfile
public CustomerProfilePaymentType getProfile()
Gets the value of the profile property.- Returns:
- possible object is
CustomerProfilePaymentType
-
setProfile
public void setProfile(CustomerProfilePaymentType value)
Sets the value of the profile property.- Parameters:
value- allowed object isCustomerProfilePaymentType
-
getSolution
public SolutionType getSolution()
Gets the value of the solution property.- Returns:
- possible object is
SolutionType
-
setSolution
public void setSolution(SolutionType value)
Sets the value of the solution property.- Parameters:
value- allowed object isSolutionType
-
getCallId
public String getCallId()
Gets the value of the callId property.- Returns:
- possible object is
String
-
setCallId
public void setCallId(String value)
Sets the value of the callId property.- Parameters:
value- allowed object isString
-
getTerminalNumber
public String getTerminalNumber()
Gets the value of the terminalNumber property.- Returns:
- possible object is
String
-
setTerminalNumber
public void setTerminalNumber(String value)
Sets the value of the terminalNumber property.- Parameters:
value- allowed object isString
-
getAuthCode
public String getAuthCode()
Gets the value of the authCode property.- Returns:
- possible object is
String
-
setAuthCode
public void setAuthCode(String value)
Sets the value of the authCode property.- Parameters:
value- allowed object isString
-
getRefTransId
public String getRefTransId()
Gets the value of the refTransId property.- Returns:
- possible object is
String
-
setRefTransId
public void setRefTransId(String value)
Sets the value of the refTransId property.- Parameters:
value- allowed object isString
-
getSplitTenderId
public String getSplitTenderId()
Gets the value of the splitTenderId property.- Returns:
- possible object is
String
-
setSplitTenderId
public void setSplitTenderId(String value)
Sets the value of the splitTenderId property.- Parameters:
value- allowed object isString
-
getOrder
public OrderType getOrder()
Gets the value of the order property.- Returns:
- possible object is
OrderType
-
setOrder
public void setOrder(OrderType value)
Sets the value of the order property.- Parameters:
value- allowed object isOrderType
-
getLineItems
public ArrayOfLineItem getLineItems()
Gets the value of the lineItems property.- Returns:
- possible object is
ArrayOfLineItem
-
setLineItems
public void setLineItems(ArrayOfLineItem value)
Sets the value of the lineItems property.- Parameters:
value- allowed object isArrayOfLineItem
-
getTax
public ExtendedAmountType getTax()
Gets the value of the tax property.- Returns:
- possible object is
ExtendedAmountType
-
setTax
public void setTax(ExtendedAmountType value)
Sets the value of the tax property.- Parameters:
value- allowed object isExtendedAmountType
-
getDuty
public ExtendedAmountType getDuty()
Gets the value of the duty property.- Returns:
- possible object is
ExtendedAmountType
-
setDuty
public void setDuty(ExtendedAmountType value)
Sets the value of the duty property.- Parameters:
value- allowed object isExtendedAmountType
-
getShipping
public ExtendedAmountType getShipping()
Gets the value of the shipping property.- Returns:
- possible object is
ExtendedAmountType
-
setShipping
public void setShipping(ExtendedAmountType value)
Sets the value of the shipping property.- Parameters:
value- allowed object isExtendedAmountType
-
isTaxExempt
public Boolean isTaxExempt()
Gets the value of the taxExempt property.- Returns:
- possible object is
Boolean
-
setTaxExempt
public void setTaxExempt(Boolean value)
Sets the value of the taxExempt property.- Parameters:
value- allowed object isBoolean
-
getPoNumber
public String getPoNumber()
Gets the value of the poNumber property.- Returns:
- possible object is
String
-
setPoNumber
public void setPoNumber(String value)
Sets the value of the poNumber property.- Parameters:
value- allowed object isString
-
getCustomer
public CustomerDataType getCustomer()
Gets the value of the customer property.- Returns:
- possible object is
CustomerDataType
-
setCustomer
public void setCustomer(CustomerDataType value)
Sets the value of the customer property.- Parameters:
value- allowed object isCustomerDataType
-
getBillTo
public CustomerAddressType getBillTo()
Gets the value of the billTo property.- Returns:
- possible object is
CustomerAddressType
-
setBillTo
public void setBillTo(CustomerAddressType value)
Sets the value of the billTo property.- Parameters:
value- allowed object isCustomerAddressType
-
getShipTo
public NameAndAddressType getShipTo()
Gets the value of the shipTo property.- Returns:
- possible object is
NameAndAddressType
-
setShipTo
public void setShipTo(NameAndAddressType value)
Sets the value of the shipTo property.- Parameters:
value- allowed object isNameAndAddressType
-
getCustomerIP
public String getCustomerIP()
Gets the value of the customerIP property.- Returns:
- possible object is
String
-
setCustomerIP
public void setCustomerIP(String value)
Sets the value of the customerIP property.- Parameters:
value- allowed object isString
-
getCardholderAuthentication
public CcAuthenticationType getCardholderAuthentication()
Gets the value of the cardholderAuthentication property.- Returns:
- possible object is
CcAuthenticationType
-
setCardholderAuthentication
public void setCardholderAuthentication(CcAuthenticationType value)
Sets the value of the cardholderAuthentication property.- Parameters:
value- allowed object isCcAuthenticationType
-
getRetail
public TransRetailInfoType getRetail()
Gets the value of the retail property.- Returns:
- possible object is
TransRetailInfoType
-
setRetail
public void setRetail(TransRetailInfoType value)
Sets the value of the retail property.- Parameters:
value- allowed object isTransRetailInfoType
-
getEmployeeId
public String getEmployeeId()
Gets the value of the employeeId property.- Returns:
- possible object is
String
-
setEmployeeId
public void setEmployeeId(String value)
Sets the value of the employeeId property.- Parameters:
value- allowed object isString
-
getTransactionSettings
public ArrayOfSetting getTransactionSettings()
Gets the value of the transactionSettings property.- Returns:
- possible object is
ArrayOfSetting
-
setTransactionSettings
public void setTransactionSettings(ArrayOfSetting value)
Sets the value of the transactionSettings property.- Parameters:
value- allowed object isArrayOfSetting
-
getUserFields
public TransactionRequestType.UserFields getUserFields()
Gets the value of the userFields property.- Returns:
- possible object is
TransactionRequestType.UserFields
-
setUserFields
public void setUserFields(TransactionRequestType.UserFields value)
Sets the value of the userFields property.- Parameters:
value- allowed object isTransactionRequestType.UserFields
-
getSurcharge
public ExtendedAmountType getSurcharge()
Gets the value of the surcharge property.- Returns:
- possible object is
ExtendedAmountType
-
setSurcharge
public void setSurcharge(ExtendedAmountType value)
Sets the value of the surcharge property.- Parameters:
value- allowed object isExtendedAmountType
-
getMerchantDescriptor
public String getMerchantDescriptor()
Gets the value of the merchantDescriptor property.- Returns:
- possible object is
String
-
setMerchantDescriptor
public void setMerchantDescriptor(String value)
Sets the value of the merchantDescriptor property.- Parameters:
value- allowed object isString
-
getSubMerchant
public SubMerchantType getSubMerchant()
Gets the value of the subMerchant property.- Returns:
- possible object is
SubMerchantType
-
setSubMerchant
public void setSubMerchant(SubMerchantType value)
Sets the value of the subMerchant property.- Parameters:
value- allowed object isSubMerchantType
-
getTip
public ExtendedAmountType getTip()
Gets the value of the tip property.- Returns:
- possible object is
ExtendedAmountType
-
setTip
public void setTip(ExtendedAmountType value)
Sets the value of the tip property.- Parameters:
value- allowed object isExtendedAmountType
-
getProcessingOptions
public ProcessingOptions getProcessingOptions()
Gets the value of the processingOptions property.- Returns:
- possible object is
ProcessingOptions
-
setProcessingOptions
public void setProcessingOptions(ProcessingOptions value)
Sets the value of the processingOptions property.- Parameters:
value- allowed object isProcessingOptions
-
getSubsequentAuthInformation
public SubsequentAuthInformation getSubsequentAuthInformation()
Gets the value of the subsequentAuthInformation property.- Returns:
- possible object is
SubsequentAuthInformation
-
setSubsequentAuthInformation
public void setSubsequentAuthInformation(SubsequentAuthInformation value)
Sets the value of the subsequentAuthInformation property.- Parameters:
value- allowed object isSubsequentAuthInformation
-
getOtherTax
public OtherTaxType getOtherTax()
Gets the value of the otherTax property.- Returns:
- possible object is
OtherTaxType
-
setOtherTax
public void setOtherTax(OtherTaxType value)
Sets the value of the otherTax property.- Parameters:
value- allowed object isOtherTaxType
-
getShipFrom
public NameAndAddressType getShipFrom()
Gets the value of the shipFrom property.- Returns:
- possible object is
NameAndAddressType
-
setShipFrom
public void setShipFrom(NameAndAddressType value)
Sets the value of the shipFrom property.- Parameters:
value- allowed object isNameAndAddressType
-
getAuthorizationIndicatorType
public AuthorizationIndicatorType getAuthorizationIndicatorType()
Gets the value of the authorizationIndicatorType property.- Returns:
- possible object is
AuthorizationIndicatorType
-
setAuthorizationIndicatorType
public void setAuthorizationIndicatorType(AuthorizationIndicatorType value)
Sets the value of the authorizationIndicatorType property.- Parameters:
value- allowed object isAuthorizationIndicatorType
-
-