Class CCSaleTransactionObject
- java.lang.Object
-
- de.firstdata.ipg.api.schema.Transaction
-
- de.firstdata.ipg.api.client.transaction.object.IPGApiTransactionObject
-
- de.firstdata.ipg.api.client.transaction.creditcard.object.CCTransactionObject
-
- de.firstdata.ipg.api.client.transaction.creditcard.object.CCSaleTransactionObject
-
- All Implemented Interfaces:
CCSaleTransaction
,CCTransaction
,AdditionalTransactionDataSetter
,InstallmentSetter
,MCC6012Setter
,PaymentFacilitatorSetter
,PurchaseCardDataSetter
,Secure3DSetter
,SubMerchantSetter
,SubMerchantSplitSetter
,UpopSecurePlusSetter
,WalletSetter
,IPGApiTransaction
,BasketSetter
,BillingSetter
,InquiryRateReferenceSetter
,PaymentSetter
,ShippingSetter
,TransactionDetailsSetter
public final class CCSaleTransactionObject extends CCTransactionObject implements CCSaleTransaction
This class represents a Sale transaction and allows for setting its optional attributes by calling the appropriatesetter
methods. An instance of this class is created when callingIPGApiClient#createSaleTransaction(double, String, String, String)
.- Author:
- Andreas Schmid
-
-
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 Constructor Description CCSaleTransactionObject()
creates a Sale transaction with only the transactionType set.CCSaleTransactionObject(Amount amount, CreditCard creditCard)
creates a Sale transaction with the minimum set of parameters - note that you can add optional fields by calling the appropriatesetter
methods on the returnedCCSaleTransactionObject
instanceCCSaleTransactionObject(Amount amount, de.firstdata.ipg.api.schema.EMVCardPresentRequest emvCardPresentRequest)
CCSaleTransactionObject(Amount amount, String hostedDataID, String hostedDataStoreID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAuthenticateUpopTransaction(Boolean value)
setter to start authentication by sending a SMS to the card holder via UPOP requestvoid
setSecure3DAuthenticationRequest(de.firstdata.ipg.api.schema.Secure3DAuthenticationRequest secure3dAuthenticationRequest)
void
setSecure3DVerificationRequest(de.firstdata.ipg.api.schema.Secure3DVerificationRequest secure3dVerificationRequest)
void
setVerifySmsCodeRequest(de.firstdata.ipg.api.schema.SecurePlusVerifySmsCodeRequest securePlusVerifySmsCodeRequest)
setter to verify SMS code by SecurePlus via UPOP request-
Methods inherited from class de.firstdata.ipg.api.client.transaction.creditcard.object.CCTransactionObject
getCreditCard3DSecure, getCreditCardTxType, getSecure3DRequest, getSecurePlusRequest, getSettlementSplit, getStore, getType, getUpop, getWallet, setAcsTransactionId, setActivateStatus, setAirlineDetails, setAuthenticate3dSecureTransaction, setAuthenticationValue, setBrowserJavaScriptEnabled, setCarRental, setDccApplied, setDirectoryServerTransactionId, setDSRPECI, setExternalMerchantID, setFinalShipment, setForeignAmount, setHotelLodging, setInquiryRateId, setInstallmentDelayMonths, setInstallmentPlanID, setInstallmentsInterest, setMcc, setNumberOfInstallments, setOverride3DSCountryExclusion, setPayerAuthenticationResponse, setPurchaseCardDetails, setReferencedSchemeTransactionId, setResponseCode, setSCAExemptionIndicators, setSecure3D2AuthenticationResponse, setSecure3D2TransactionStatus, setSecure3DMethodNotificationStatus, setSecure3DProtocolVersion, setSkipTRA, setSplitShipmentSequenceCount, setStandIn, setStoreId, setSubMerchantSplit, setTerminalID, setTermUrl, setThreeDSEmvcoMessageCategory, setThreeDSMethodNotificationURL, setThreeDSRequestorChallengeIndicator, setThreeDSServerTransactionId, setThreeDSTransType, setVCode, setVerificationResponse, setVisaMerchantIdentifier, setWalletID, setWalletType, setXID
-
Methods inherited from class de.firstdata.ipg.api.client.transaction.object.IPGApiTransactionObject
getBilling, getFormattedDate, getPayment, getShipping, getTransactionDetails, setAdditionalRequestParameters, setAddress1, setAddress2, setAddressNumber, setAssignToken, setBirthDate, setCity, setClientLocale, setComments, setCompany, setCountry, setCustomerID, setDeclineHostedDataDuplicates, setDynamicMerchantName, setEmail, setFax, setFirstname, setGender, setHostedDataID, setHostedDataStoreID, setHouseExtension, setHouseNumber, setInvoiceNumber, setIp, setIpgDeferredAuth, setIpgTransactionId, setMerchantAdviceCodeSupported, setMerchantTransactionId, setMobilePhone, setName, setOrderId, setPayment, setPersonalNumber, setPhone, setPONumber, setReferencedMerchantTransactionId, setShippingAddress1, setShippingAddress2, setShippingAddressCity, setShippingAddressCountry, setShippingAddressName, setShippingAddressState, setShippingAddressZip, setState, setStreetName, setSurname, setTDate, setTokenType, setTransactionOrigin, setType, setZip
-
Methods inherited from class de.firstdata.ipg.api.schema.Transaction
getAlipayDomesticInformation, getAlipayPaymentInformation, getAlipayTxType, getAuthorizerID, getBancontactQR, getBasket, getBillerDetails, getBlikPaymentInformation, getBoletoTxType, getCardAccount, getCardFunction, getCardholderInitiatedIndicator, getClientLocale, getCreditCardData, 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, 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.creditcard.setter.AdditionalTransactionDataSetter
setAirlineDetails, setCarRental, setHotelLodging
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.setter.BasketSetter
setBasket
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.setter.BillingSetter
setAddress1, setAddress2, setAddressNumber, setBirthDate, setCity, setCompany, setCountry, setCustomerID, setEmail, setFax, setFirstname, setGender, setHouseExtension, setHouseNumber, setMobilePhone, setName, setPersonalNumber, setPhone, setState, setStreetName, setSurname, setZip
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.CCSaleTransaction
setCardAccount, setCardFunction, setExternalMerchantID, setMcc, setRecurringType, setSCAExemptionIndicators, setStandIn, setTDate, setTerminalID, setVisaMerchantIdentifier
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.CCTransaction
setCardholderInitiatedIndicator, setMerchantInitiatedIndicator, setReferencedSchemeTransactionId, setUnscheduledCredentialOnFileType
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.setter.InquiryRateReferenceSetter
setDccApplied, setForeignAmount, setInquiryRateId
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.InstallmentSetter
setInstallmentDelayMonths, setInstallmentPlanID, setInstallmentsInterest, setNumberOfInstallments
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.IPGApiTransaction
getStore, getType, setClientLocale, setComments, setIpgTransactionId, setMerchantTransactionId, setReferencedMerchantTransactionId, setStoreId
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.MCC6012Setter
setMCC6012Details
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.PaymentFacilitatorSetter
setPaymentFacilitator
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.setter.PaymentSetter
setAssignToken, setDeclineHostedDataDuplicates, setHostedDataID, setHostedDataStoreID, setTokenType
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.PurchaseCardDataSetter
setPurchaseCardDetails
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.Secure3DSetter
setAcsTransactionId, setAuthenticate3dSecureTransaction, setAuthenticationValue, setBrowserJavaScriptEnabled, setDirectoryServerTransactionId, setDSRPECI, setOverride3DSCountryExclusion, setPayerAuthenticationResponse, setSecure3D2AuthenticationResponse, setSecure3D2TransactionStatus, setSecure3DMethodNotificationStatus, setSecure3DProtocolVersion, setSkipTRA, setTermUrl, setThreeDSEmvcoMessageCategory, setThreeDSMethodNotificationURL, setThreeDSRequestorChallengeIndicator, setThreeDSServerTransactionId, setThreeDSTransType, setVerificationResponse, setXID
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.setter.ShippingSetter
setShippingAddress1, setShippingAddress2, setShippingAddressCity, setShippingAddressCountry, setShippingAddressName, setShippingAddressState, setShippingAddressZip, setType
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.SubMerchantSetter
setSubMerchant
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.SubMerchantSplitSetter
setSubMerchantSplit
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.setter.TransactionDetailsSetter
setAdditionalRequestParameters, setDynamicMerchantName, setInvoiceNumber, setIp, setIpgDeferredAuth, setOrderId, setPONumber, setTransactionOrigin
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.UpopSecurePlusSetter
setActivateStatus, setResponseCode, setVCode
-
Methods inherited from interface de.firstdata.ipg.api.client.transaction.creditcard.setter.WalletSetter
setWalletID, setWalletType
-
-
-
-
Constructor Detail
-
CCSaleTransactionObject
public CCSaleTransactionObject()
creates a Sale transaction with only the transactionType set. This transaction is used for the authentication request call of the IVR Secure 3D transaction where the transaction data are loaded from the database.
-
CCSaleTransactionObject
public CCSaleTransactionObject(Amount amount, CreditCard creditCard)
creates a Sale transaction with the minimum set of parameters - note that you can add optional fields by calling the appropriatesetter
methods on the returnedCCSaleTransactionObject
instance
-
CCSaleTransactionObject
public CCSaleTransactionObject(Amount amount, String hostedDataID, String hostedDataStoreID)
-
CCSaleTransactionObject
public CCSaleTransactionObject(Amount amount, de.firstdata.ipg.api.schema.EMVCardPresentRequest emvCardPresentRequest)
-
-
Method Detail
-
setSecure3DVerificationRequest
public void setSecure3DVerificationRequest(de.firstdata.ipg.api.schema.Secure3DVerificationRequest secure3dVerificationRequest)
- Specified by:
setSecure3DVerificationRequest
in interfaceSecure3DSetter
-
setSecure3DAuthenticationRequest
public void setSecure3DAuthenticationRequest(de.firstdata.ipg.api.schema.Secure3DAuthenticationRequest secure3dAuthenticationRequest)
- Specified by:
setSecure3DAuthenticationRequest
in interfaceSecure3DSetter
-
setVerifySmsCodeRequest
public void setVerifySmsCodeRequest(de.firstdata.ipg.api.schema.SecurePlusVerifySmsCodeRequest securePlusVerifySmsCodeRequest)
Description copied from interface:UpopSecurePlusSetter
setter to verify SMS code by SecurePlus via UPOP request- Specified by:
setVerifySmsCodeRequest
in interfaceUpopSecurePlusSetter
-
setAuthenticateUpopTransaction
public void setAuthenticateUpopTransaction(Boolean value)
Description copied from interface:UpopSecurePlusSetter
setter to start authentication by sending a SMS to the card holder via UPOP request- Specified by:
setAuthenticateUpopTransaction
in interfaceUpopSecurePlusSetter
-
-