public class PaymentsRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentsRequest.ChannelEnum
The platform where a payment transaction takes place.
|
static class |
PaymentsRequest.EntityTypeEnum
The type of the entity the payment is processed for.
|
static class |
PaymentsRequest.ShopperInteractionEnum
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.
|
| Constructor and Description |
|---|
PaymentsRequest() |
public MerchantRiskIndicator getMerchantRiskIndicator()
public void setMerchantRiskIndicator(MerchantRiskIndicator merchantRiskIndicator)
public AccountInfo getAccountInfo()
public void setAccountInfo(AccountInfo accountInfo)
public Boolean getEnableOneClick()
public Boolean getEnablePayOut()
public Boolean getEnableRecurring()
public Boolean getTrustedShopper()
public void setTrustedShopper(Boolean trustedShopper)
public ThreeDS2RequestData getThreeDS2RequestData()
public void setThreeDS2RequestData(ThreeDS2RequestData threeDS2RequestData)
public PaymentsRequest additionalData(Map<String,String> additionalData)
public PaymentsRequest putAdditionalDataItem(String key, String additionalDataItem)
public Map<String,String> getAdditionalData()
public PaymentsRequest amount(Amount amount)
public String getConfigId()
public void setConfigId(String configId)
public Amount getAmount()
public void setAmount(Amount amount)
public PaymentsRequest setAmountData(String amount, String currency)
public PaymentsRequest billingAddress(Address billingAddress)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public PaymentsRequest captureDelayHours(Integer captureDelayHours)
public Integer getCaptureDelayHours()
public void setCaptureDelayHours(Integer captureDelayHours)
public PaymentsRequest channel(PaymentsRequest.ChannelEnum channel)
public PaymentsRequest.ChannelEnum getChannel()
public void setChannel(PaymentsRequest.ChannelEnum channel)
public PaymentsRequest company(Company company)
public Company getCompany()
public void setCompany(Company company)
public PaymentsRequest countryCode(String countryCode)
public String getCountryCode()
public void setCountryCode(String countryCode)
public PaymentsRequest dateOfBirth(Date dateOfBirth)
public Date getDateOfBirth()
public void setDateOfBirth(Date dateOfBirth)
public PaymentsRequest dccQuote(ForexQuote dccQuote)
public ForexQuote getDccQuote()
public void setDccQuote(ForexQuote dccQuote)
public PaymentsRequest deliveryAddress(Address deliveryAddress)
public Address getDeliveryAddress()
public void setDeliveryAddress(Address deliveryAddress)
public PaymentsRequest deliveryDate(Date deliveryDate)
public Date getDeliveryDate()
public void setDeliveryDate(Date deliveryDate)
public PaymentsRequest enableOneClick(Boolean enableOneClick)
public Boolean isEnableOneClick()
public void setEnableOneClick(Boolean enableOneClick)
public PaymentsRequest enablePayOut(Boolean enablePayOut)
public Boolean isEnablePayOut()
public void setEnablePayOut(Boolean enablePayOut)
public PaymentsRequest enableRecurring(Boolean enableRecurring)
public Boolean isEnableRecurring()
public void setEnableRecurring(Boolean enableRecurring)
public PaymentsRequest entityType(PaymentsRequest.EntityTypeEnum entityType)
public PaymentsRequest.EntityTypeEnum getEntityType()
public void setEntityType(PaymentsRequest.EntityTypeEnum entityType)
public PaymentsRequest fraudOffset(Integer fraudOffset)
public Integer getFraudOffset()
public void setFraudOffset(Integer fraudOffset)
public PaymentsRequest installments(Installments installments)
public Installments getInstallments()
public void setInstallments(Installments installments)
public PaymentsRequest lineItems(List<LineItem> lineItems)
public PaymentsRequest addLineItemsItem(LineItem lineItemsItem)
public List<LineItem> getLineItems()
public PaymentsRequest mcc(String mcc)
public String getMcc()
public void setMcc(String mcc)
public PaymentsRequest merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public PaymentsRequest merchantOrderReference(String merchantOrderReference)
public String getMerchantOrderReference()
public void setMerchantOrderReference(String merchantOrderReference)
public PaymentsRequest metadata(Map<String,String> metadata)
public PaymentsRequest putMetadataItem(String key, String metadataItem)
public Map<String,String> getMetadata()
public PaymentsRequest orderReference(String orderReference)
public String getOrderReference()
public void setOrderReference(String orderReference)
public PaymentMethodDetails getPaymentMethod()
public void setPaymentMethod(PaymentMethodDetails paymentMethod)
public PaymentsRequest paymentMethod(PaymentMethodDetails paymentMethod)
public PaymentsRequest addEncryptedCardData(String encryptedCardNumber, String encryptedExpiryMonth, String encryptedExpiryYear, String encryptedSecurityCode, String holderName)
public PaymentsRequest addCardData(String cardNumber, String expiryMonth, String expiryYear, String securityCode, String holderName)
cardNumber - card numberexpiryMonth - expiry monthexpiryYear - expiry yearholderName - holder namesecurityCode - security codepublic PaymentsRequest addOneClickData(String recurringDetailReference, String encryptedSecurityCode)
public PaymentsRequest reference(String reference)
public String getReference()
public void setReference(String reference)
public PaymentsRequest returnUrl(String returnUrl)
public String getReturnUrl()
public void setReturnUrl(String returnUrl)
public PaymentsRequest sessionValidity(String sessionValidity)
public String getSessionValidity()
public void setSessionValidity(String sessionValidity)
public PaymentsRequest shopperEmail(String shopperEmail)
public String getShopperEmail()
public void setShopperEmail(String shopperEmail)
public PaymentsRequest shopperIP(String shopperIP)
public String getShopperIP()
public void setShopperIP(String shopperIP)
public PaymentsRequest shopperInteraction(PaymentsRequest.ShopperInteractionEnum shopperInteraction)
public PaymentsRequest.ShopperInteractionEnum getShopperInteraction()
public void setShopperInteraction(PaymentsRequest.ShopperInteractionEnum shopperInteraction)
public PaymentsRequest shopperLocale(String shopperLocale)
public String getShopperLocale()
public void setShopperLocale(String shopperLocale)
public PaymentsRequest shopperName(Name shopperName)
public Name getShopperName()
public void setShopperName(Name shopperName)
public PaymentsRequest shopperReference(String shopperReference)
public String getShopperReference()
public void setShopperReference(String shopperReference)
public PaymentsRequest shopperStatement(String shopperStatement)
public String getShopperStatement()
public void setShopperStatement(String shopperStatement)
public PaymentsRequest socialSecurityNumber(String socialSecurityNumber)
public String getSocialSecurityNumber()
public void setSocialSecurityNumber(String socialSecurityNumber)
public PaymentsRequest telephoneNumber(String telephoneNumber)
public String getTelephoneNumber()
public void setTelephoneNumber(String telephoneNumber)
public BrowserInfo getBrowserInfo()
public void setBrowserInfo(BrowserInfo browserInfo)
public PaymentsRequest browserInfo(BrowserInfo browserInfo)
public PaymentsRequest addBrowserInfoData(String userAgent, String acceptHeader)
public String getDeviceFingerprint()
public void setDeviceFingerprint(String deviceFingerprint)
public PaymentsRequest deviceFingerprint(String deviceFingerprint)
public ApplicationInfo getApplicationInfo()
public void setApplicationInfo(ApplicationInfo applicationInfo)
public PaymentsRequest applicationInfo(ApplicationInfo applicationInfo)
Copyright © 2018. All rights reserved.