Class IPGApiTransactionObject
- java.lang.Object
-
- de.firstdata.ipg.api.schema.Transaction
-
- de.firstdata.ipg.api.client.transaction.object.IPGApiTransactionObject
-
- All Implemented Interfaces:
IPGApiTransaction
- Direct Known Subclasses:
AlipayTransactionObject
,BoletoTransactionObject
,CCTransactionObject
,CUPDomesticTransactionObject
,CustomerCTransactionObject
,DEDDTransactionObject
,DpayTransactionObject
,IdealTransactionObject
,KlarnaTransactionObject
,KpsTransactionObject
,PayPalTransactionObject
,PixTransactionObject
,SepaCreditTransactionObject
,SepaSaleTransactionObject
,SofortTransactionObject
,TopUpTransactionObject
,WeChatTransactionObject
public abstract class IPGApiTransactionObject extends de.firstdata.ipg.api.schema.Transaction implements IPGApiTransaction
IPGApiTransaction
is the abstract super class of any other transaction class. It contains methods for setting optional fields which are common to all transactions regardless of their type.
-
-
Field Summary
-
Fields inherited from class de.firstdata.ipg.api.schema.Transaction
alipayDomesticInformation, alipayPaymentInformation, alipayTxType, authorizerID, bancontactQR, basket, billerDetails, billing, blikPaymentInformation, boletoTxType, cardAccount, cardFunction, cardholderInitiatedIndicator, clientLocale, creditCard3DSecure, creditCardData, creditCardTxType, cupDomesticInformation, cupDomesticTxType, customerCardData, customerCardTxType, deDirectDebitData, deDirectDebitEMV, deDirectDebitTxType, diversePayTxType, emiDetails, emvCardPresentRequest, idealTxType, klarnaPClassID, klarnaTxType, koreanPaymentInformation, koreanPaymentServiceTxType, mcc6012Details, merchantInitiatedIndicator, networkTokenDetails, payment, paymentFacilitator, paymentUrlTxType, payPalTxType, pixTxType, receiver, recurringType, sender, sepaData, sepaTxType, serviceLocation, shipping, sofortTxType, standInDetails, subMerchant, threeDSDecoupledAuthenticationParameters, tokenCryptogram, topUpTxType, transactionDetails, unscheduledCredentialOnFileType, upop, wallet, weChatDomesticInformation, weChatTxType
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IPGApiTransactionObject(Amount amount, String hostedDataID, String hostedDataStoreID, String orderId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description de.firstdata.ipg.api.schema.Billing
getBilling()
protected static String
getFormattedDate(Date value)
de.firstdata.ipg.api.schema.Payment
getPayment()
de.firstdata.ipg.api.schema.Shipping
getShipping()
de.firstdata.ipg.api.schema.TransactionDetails
getTransactionDetails()
void
setAdditionalRequestParameters(de.firstdata.ipg.api.schema.AdditionalRequestParameters additionalRequestParameters)
void
setAddress1(String address1)
void
setAddress2(String address2)
void
setAddressNumber(String addressNumber)
Deprecated.void
setAssignToken(Boolean value)
void
setBirthDate(XMLGregorianCalendar birthDate)
void
setCity(String city)
void
setClientLocale(Locale value)
void
setComments(String value)
void
setCompany(String company)
void
setCountry(String country)
void
setCustomerID(String customerID)
void
setDeclineHostedDataDuplicates(boolean value)
void
setDynamicMerchantName(String dynamicMerchantName)
void
setEmail(String email)
void
setFax(String fax)
void
setFirstname(String firstname)
void
setGender(de.firstdata.ipg.api.schema.GenderType gender)
void
setHostedDataID(String value)
void
setHostedDataStoreID(String value)
void
setHouseExtension(String houseExtension)
void
setHouseNumber(String houseNumber)
void
setInvoiceNumber(String invoiceNumber)
void
setIp(String ip)
sets the customer's IP address which can be used for fraud detectionvoid
setIpgDeferredAuth(Boolean isDeferredAuth)
void
setIpgTransactionId(Long ipgTransactionId)
void
setMerchantAdviceCodeSupported(Boolean merchantAdviceCodeSupported)
void
setMerchantTransactionId(String merchantTransactionId)
void
setMobilePhone(String mobilePhone)
void
setName(String name)
void
setOrderId(String orderId)
protected void
setPayment(Amount amount)
void
setPersonalNumber(String personalNumber)
void
setPhone(String phone)
void
setPONumber(String poNumber)
void
setReferencedMerchantTransactionId(String referencedMerchantTransactionId)
void
setShippingAddress1(String address1)
void
setShippingAddress2(String address2)
void
setShippingAddressCity(String city)
void
setShippingAddressCountry(String country)
void
setShippingAddressName(String name)
void
setShippingAddressState(String state)
void
setShippingAddressZip(String zip)
void
setState(String state)
void
setStreetName(String streetName)
void
setSurname(String surname)
void
setTDate(String tDate)
void
setTokenType(de.firstdata.ipg.api.schema.TokenType value)
void
setTransactionOrigin(String transactionOrigin)
void
setType(String type)
Deprecated.void
setZip(String zip)
-
Methods inherited from class de.firstdata.ipg.api.schema.Transaction
getAlipayDomesticInformation, getAlipayPaymentInformation, getAlipayTxType, getAuthorizerID, getBancontactQR, getBasket, getBillerDetails, getBlikPaymentInformation, getBoletoTxType, getCardAccount, getCardFunction, getCardholderInitiatedIndicator, getClientLocale, getCreditCard3DSecure, getCreditCardData, getCreditCardTxType, getCUPDomesticInformation, getCUPDomesticTxType, getCustomerCardData, getCustomerCardTxType, getDEDirectDebitData, getDEDirectDebitEMV, getDEDirectDebitTxType, getDiversePayTxType, getEMIDetails, getEMVCardPresentRequest, getIdealTxType, getKlarnaPClassID, getKlarnaTxType, getKoreanPaymentInformation, getKoreanPaymentServiceTxType, getMCC6012Details, getMerchantInitiatedIndicator, getNetworkTokenDetails, getPaymentFacilitator, getPaymentUrlTxType, getPayPalTxType, getPixTxType, getReceiver, getRecurringType, getSender, getSepaData, getSepaTxType, getServiceLocation, getSofortTxType, getStandInDetails, getSubMerchant, getThreeDSDecoupledAuthenticationParameters, getTokenCryptogram, getTopUpTxType, getUnscheduledCredentialOnFileType, getUpop, getWallet, getWeChatDomesticInformation, getWeChatTxType, setAlipayDomesticInformation, setAlipayPaymentInformation, setAlipayTxType, setAuthorizerID, setBancontactQR, setBasket, setBillerDetails, setBilling, setBlikPaymentInformation, setBoletoTxType, setCardAccount, setCardFunction, setCardholderInitiatedIndicator, setClientLocale, setCreditCard3DSecure, setCreditCardData, setCreditCardTxType, setCUPDomesticInformation, setCUPDomesticTxType, setCustomerCardData, setCustomerCardTxType, setDEDirectDebitData, setDEDirectDebitEMV, setDEDirectDebitTxType, setDiversePayTxType, setEMIDetails, setEMVCardPresentRequest, setIdealTxType, setKlarnaPClassID, setKlarnaTxType, setKoreanPaymentInformation, setKoreanPaymentServiceTxType, setMCC6012Details, setMerchantInitiatedIndicator, setNetworkTokenDetails, setPayment, setPaymentFacilitator, setPaymentUrlTxType, setPayPalTxType, setPixTxType, setReceiver, setRecurringType, setSender, setSepaData, setSepaTxType, setServiceLocation, setShipping, setSofortTxType, setStandInDetails, setSubMerchant, setThreeDSDecoupledAuthenticationParameters, setTokenCryptogram, setTopUpTxType, setTransactionDetails, setUnscheduledCredentialOnFileType, setUpop, setWallet, setWeChatDomesticInformation, setWeChatTxType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.IPGApiTransaction
getStore, getType, setStoreId
-
-
-
-
Method Detail
-
setComments
public void setComments(String value)
- Specified by:
setComments
in interfaceIPGApiTransaction
-
setIp
public void setIp(String ip)
sets the customer's IP address which can be used for fraud detection- Parameters:
ip
- the customer's IP address
-
setOrderId
public void setOrderId(String orderId)
-
setTDate
public void setTDate(String tDate)
-
setMerchantTransactionId
public void setMerchantTransactionId(String merchantTransactionId)
- Specified by:
setMerchantTransactionId
in interfaceIPGApiTransaction
-
setReferencedMerchantTransactionId
public void setReferencedMerchantTransactionId(String referencedMerchantTransactionId)
- Specified by:
setReferencedMerchantTransactionId
in interfaceIPGApiTransaction
-
setIpgTransactionId
public void setIpgTransactionId(Long ipgTransactionId)
- Specified by:
setIpgTransactionId
in interfaceIPGApiTransaction
-
setInvoiceNumber
public void setInvoiceNumber(String invoiceNumber)
-
setDynamicMerchantName
public void setDynamicMerchantName(String dynamicMerchantName)
-
setPONumber
public void setPONumber(String poNumber)
-
setClientLocale
public void setClientLocale(Locale value)
- Specified by:
setClientLocale
in interfaceIPGApiTransaction
-
setTransactionOrigin
public void setTransactionOrigin(String transactionOrigin)
-
getTransactionDetails
public de.firstdata.ipg.api.schema.TransactionDetails getTransactionDetails()
- Overrides:
getTransactionDetails
in classde.firstdata.ipg.api.schema.Transaction
-
setCustomerID
public void setCustomerID(String customerID)
-
setName
public void setName(String name)
-
setCompany
public void setCompany(String company)
-
setAddress1
public void setAddress1(String address1)
-
setAddress2
public void setAddress2(String address2)
-
setCity
public void setCity(String city)
-
setState
public void setState(String state)
-
setZip
public void setZip(String zip)
-
setCountry
public void setCountry(String country)
-
setPhone
public void setPhone(String phone)
-
setFax
public void setFax(String fax)
-
setEmail
public void setEmail(String email)
-
setPersonalNumber
public void setPersonalNumber(String personalNumber)
-
setBirthDate
public void setBirthDate(XMLGregorianCalendar birthDate)
-
setGender
public void setGender(de.firstdata.ipg.api.schema.GenderType gender)
-
setFirstname
public void setFirstname(String firstname)
-
setSurname
public void setSurname(String surname)
-
setStreetName
public void setStreetName(String streetName)
-
setHouseNumber
public void setHouseNumber(String houseNumber)
-
setHouseExtension
public void setHouseExtension(String houseExtension)
-
setMobilePhone
public void setMobilePhone(String mobilePhone)
-
setAddressNumber
@Deprecated public void setAddressNumber(String addressNumber)
Deprecated.
-
setType
@Deprecated public void setType(String type)
Deprecated.
-
setShippingAddressName
public void setShippingAddressName(String name)
-
setShippingAddress1
public void setShippingAddress1(String address1)
-
setShippingAddress2
public void setShippingAddress2(String address2)
-
setShippingAddressCity
public void setShippingAddressCity(String city)
-
setShippingAddressState
public void setShippingAddressState(String state)
-
setShippingAddressZip
public void setShippingAddressZip(String zip)
-
setShippingAddressCountry
public void setShippingAddressCountry(String country)
-
setDeclineHostedDataDuplicates
public void setDeclineHostedDataDuplicates(boolean value)
-
setHostedDataID
public void setHostedDataID(String value)
-
setHostedDataStoreID
public void setHostedDataStoreID(String value)
-
setTokenType
public void setTokenType(de.firstdata.ipg.api.schema.TokenType value)
-
setAssignToken
public void setAssignToken(Boolean value)
-
setAdditionalRequestParameters
public void setAdditionalRequestParameters(de.firstdata.ipg.api.schema.AdditionalRequestParameters additionalRequestParameters)
-
getBilling
public de.firstdata.ipg.api.schema.Billing getBilling()
- Overrides:
getBilling
in classde.firstdata.ipg.api.schema.Transaction
-
getShipping
public de.firstdata.ipg.api.schema.Shipping getShipping()
- Overrides:
getShipping
in classde.firstdata.ipg.api.schema.Transaction
-
getPayment
public de.firstdata.ipg.api.schema.Payment getPayment()
- Overrides:
getPayment
in classde.firstdata.ipg.api.schema.Transaction
-
setPayment
protected void setPayment(Amount amount)
-
setMerchantAdviceCodeSupported
public void setMerchantAdviceCodeSupported(Boolean merchantAdviceCodeSupported)
-
setIpgDeferredAuth
public void setIpgDeferredAuth(Boolean isDeferredAuth)
-
-