net.authorize.api.contract.v1
Class TransactionRequestType

java.lang.Object
  extended by 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="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="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="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>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class TransactionRequestType.UserFields
          Java class for anonymous complex type.
 
Field Summary
protected  BigDecimal amount
           
protected  String authCode
           
protected  CustomerAddressType billTo
           
protected  CcAuthenticationType cardholderAuthentication
           
protected  CustomerDataType customer
           
protected  String customerIP
           
protected  ExtendedAmountType duty
           
protected  ArrayOfLineItem lineItems
           
protected  OrderType order
           
protected  PaymentType payment
           
protected  String poNumber
           
protected  CustomerProfilePaymentType profile
           
protected  String refTransId
           
protected  TransRetailInfoType retail
           
protected  ExtendedAmountType shipping
           
protected  NameAndAddressType shipTo
           
protected  String splitTenderId
           
protected  ExtendedAmountType tax
           
protected  Boolean taxExempt
           
protected  ArrayOfSetting transactionSettings
           
protected  String transactionType
           
protected  TransactionRequestType.UserFields userFields
           
 
Constructor Summary
TransactionRequestType()
           
 
Method Summary
 BigDecimal getAmount()
          Gets the value of the amount property.
 String getAuthCode()
          Gets the value of the authCode property.
 CustomerAddressType getBillTo()
          Gets the value of the billTo property.
 CcAuthenticationType getCardholderAuthentication()
          Gets the value of the cardholderAuthentication property.
 CustomerDataType getCustomer()
          Gets the value of the customer property.
 String getCustomerIP()
          Gets the value of the customerIP property.
 ExtendedAmountType getDuty()
          Gets the value of the duty property.
 ArrayOfLineItem getLineItems()
          Gets the value of the lineItems property.
 OrderType getOrder()
          Gets the value of the order property.
 PaymentType getPayment()
          Gets the value of the payment property.
 String getPoNumber()
          Gets the value of the poNumber property.
 CustomerProfilePaymentType getProfile()
          Gets the value of the profile property.
 String getRefTransId()
          Gets the value of the refTransId property.
 TransRetailInfoType getRetail()
          Gets the value of the retail property.
 ExtendedAmountType getShipping()
          Gets the value of the shipping property.
 NameAndAddressType getShipTo()
          Gets the value of the shipTo property.
 String getSplitTenderId()
          Gets the value of the splitTenderId property.
 ExtendedAmountType getTax()
          Gets the value of the tax property.
 ArrayOfSetting getTransactionSettings()
          Gets the value of the transactionSettings property.
 String getTransactionType()
          Gets the value of the transactionType property.
 TransactionRequestType.UserFields getUserFields()
          Gets the value of the userFields property.
 Boolean isTaxExempt()
          Gets the value of the taxExempt property.
 void setAmount(BigDecimal value)
          Sets the value of the amount property.
 void setAuthCode(String value)
          Sets the value of the authCode property.
 void setBillTo(CustomerAddressType value)
          Sets the value of the billTo property.
 void setCardholderAuthentication(CcAuthenticationType value)
          Sets the value of the cardholderAuthentication property.
 void setCustomer(CustomerDataType value)
          Sets the value of the customer property.
 void setCustomerIP(String value)
          Sets the value of the customerIP property.
 void setDuty(ExtendedAmountType value)
          Sets the value of the duty property.
 void setLineItems(ArrayOfLineItem value)
          Sets the value of the lineItems property.
 void setOrder(OrderType value)
          Sets the value of the order property.
 void setPayment(PaymentType value)
          Sets the value of the payment property.
 void setPoNumber(String value)
          Sets the value of the poNumber property.
 void setProfile(CustomerProfilePaymentType value)
          Sets the value of the profile property.
 void setRefTransId(String value)
          Sets the value of the refTransId property.
 void setRetail(TransRetailInfoType value)
          Sets the value of the retail property.
 void setShipping(ExtendedAmountType value)
          Sets the value of the shipping property.
 void setShipTo(NameAndAddressType value)
          Sets the value of the shipTo property.
 void setSplitTenderId(String value)
          Sets the value of the splitTenderId property.
 void setTax(ExtendedAmountType value)
          Sets the value of the tax property.
 void setTaxExempt(Boolean value)
          Sets the value of the taxExempt property.
 void setTransactionSettings(ArrayOfSetting value)
          Sets the value of the transactionSettings property.
 void setTransactionType(String value)
          Sets the value of the transactionType property.
 void setUserFields(TransactionRequestType.UserFields value)
          Sets the value of the userFields property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionType

protected String transactionType

amount

protected BigDecimal amount

payment

protected PaymentType payment

profile

protected CustomerProfilePaymentType profile

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

transactionSettings

protected ArrayOfSetting transactionSettings

userFields

protected TransactionRequestType.UserFields userFields
Constructor Detail

TransactionRequestType

public TransactionRequestType()
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 is String

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 is BigDecimal

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 is PaymentType

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 is CustomerProfilePaymentType

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 is String

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 is String

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 is String

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 is OrderType

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 is ArrayOfLineItem

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 is ExtendedAmountType

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 is ExtendedAmountType

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 is ExtendedAmountType

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 is Boolean

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 is String

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 is CustomerDataType

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 is CustomerAddressType

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 is NameAndAddressType

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 is String

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 is CcAuthenticationType

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 is TransRetailInfoType

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 is ArrayOfSetting

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 is TransactionRequestType.UserFields


Copyright © 2014. All Rights Reserved.