Package com.adyen.model.payout
Class StoreDetailAndSubmitRequest
- java.lang.Object
-
- com.adyen.model.payout.StoreDetailAndSubmitRequest
-
public class StoreDetailAndSubmitRequest extends Object
StoreDetailAndSubmitRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreDetailAndSubmitRequest.EntityTypeEnumThe type of the entity the payout is processed for.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDITIONAL_DATAstatic StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_BANKstatic StringJSON_PROPERTY_BILLING_ADDRESSstatic StringJSON_PROPERTY_CARDstatic StringJSON_PROPERTY_DATE_OF_BIRTHstatic StringJSON_PROPERTY_ENTITY_TYPEstatic StringJSON_PROPERTY_FRAUD_OFFSETstatic StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_NATIONALITYstatic StringJSON_PROPERTY_RECURRINGstatic StringJSON_PROPERTY_REFERENCEstatic StringJSON_PROPERTY_SELECTED_BRANDstatic StringJSON_PROPERTY_SHOPPER_EMAILstatic StringJSON_PROPERTY_SHOPPER_NAMEstatic StringJSON_PROPERTY_SHOPPER_REFERENCEstatic StringJSON_PROPERTY_SHOPPER_STATEMENTstatic StringJSON_PROPERTY_SOCIAL_SECURITY_NUMBERstatic StringJSON_PROPERTY_TELEPHONE_NUMBER
-
Constructor Summary
Constructors Constructor Description StoreDetailAndSubmitRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDITIONAL_DATA
public static final String JSON_PROPERTY_ADDITIONAL_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK
public static final String JSON_PROPERTY_BANK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_ADDRESS
public static final String JSON_PROPERTY_BILLING_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD
public static final String JSON_PROPERTY_CARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATE_OF_BIRTH
public static final String JSON_PROPERTY_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENTITY_TYPE
public static final String JSON_PROPERTY_ENTITY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FRAUD_OFFSET
public static final String JSON_PROPERTY_FRAUD_OFFSET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NATIONALITY
public static final String JSON_PROPERTY_NATIONALITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING
public static final String JSON_PROPERTY_RECURRING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELECTED_BRAND
public static final String JSON_PROPERTY_SELECTED_BRAND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_EMAIL
public static final String JSON_PROPERTY_SHOPPER_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_NAME
public static final String JSON_PROPERTY_SHOPPER_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFERENCE
public static final String JSON_PROPERTY_SHOPPER_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_STATEMENT
public static final String JSON_PROPERTY_SHOPPER_STATEMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOCIAL_SECURITY_NUMBER
public static final String JSON_PROPERTY_SOCIAL_SECURITY_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TELEPHONE_NUMBER
public static final String JSON_PROPERTY_TELEPHONE_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
additionalData
public StoreDetailAndSubmitRequest additionalData(Map<String,String> additionalData)
-
putAdditionalDataItem
public StoreDetailAndSubmitRequest putAdditionalDataItem(String key, String additionalDataItem)
-
getAdditionalData
public Map<String,String> getAdditionalData()
This field contains additional data, which may be required for a particular request.- Returns:
- additionalData
-
amount
public StoreDetailAndSubmitRequest amount(Amount amount)
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
-
bank
public StoreDetailAndSubmitRequest bank(BankAccount bank)
-
getBank
public BankAccount getBank()
Get bank- Returns:
- bank
-
setBank
public void setBank(BankAccount bank)
-
billingAddress
public StoreDetailAndSubmitRequest billingAddress(Address billingAddress)
-
getBillingAddress
public Address getBillingAddress()
Get billingAddress- Returns:
- billingAddress
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
-
card
public StoreDetailAndSubmitRequest card(Card card)
-
getCard
public Card getCard()
Get card- Returns:
- card
-
setCard
public void setCard(Card card)
-
dateOfBirth
public StoreDetailAndSubmitRequest dateOfBirth(LocalDate dateOfBirth)
-
getDateOfBirth
public LocalDate getDateOfBirth()
The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons.- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
entityType
public StoreDetailAndSubmitRequest entityType(StoreDetailAndSubmitRequest.EntityTypeEnum entityType)
-
getEntityType
public StoreDetailAndSubmitRequest.EntityTypeEnum getEntityType()
The type of the entity the payout is processed for.- Returns:
- entityType
-
setEntityType
public void setEntityType(StoreDetailAndSubmitRequest.EntityTypeEnum entityType)
-
fraudOffset
public StoreDetailAndSubmitRequest fraudOffset(Integer fraudOffset)
-
getFraudOffset
public Integer getFraudOffset()
An integer value that is added to the normal fraud score. The value can be either positive or negative.- Returns:
- fraudOffset
-
setFraudOffset
public void setFraudOffset(Integer fraudOffset)
-
merchantAccount
public StoreDetailAndSubmitRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
nationality
public StoreDetailAndSubmitRequest nationality(String nationality)
-
getNationality
public String getNationality()
The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL').- Returns:
- nationality
-
setNationality
public void setNationality(String nationality)
-
recurring
public StoreDetailAndSubmitRequest recurring(Recurring recurring)
-
getRecurring
public Recurring getRecurring()
Get recurring- Returns:
- recurring
-
setRecurring
public void setRecurring(Recurring recurring)
-
reference
public StoreDetailAndSubmitRequest reference(String reference)
-
getReference
public String getReference()
The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
selectedBrand
public StoreDetailAndSubmitRequest selectedBrand(String selectedBrand)
-
getSelectedBrand
public String getSelectedBrand()
The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`.- Returns:
- selectedBrand
-
setSelectedBrand
public void setSelectedBrand(String selectedBrand)
-
shopperEmail
public StoreDetailAndSubmitRequest shopperEmail(String shopperEmail)
-
getShopperEmail
public String getShopperEmail()
The shopper's email address.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
-
shopperName
public StoreDetailAndSubmitRequest shopperName(Name shopperName)
-
getShopperName
public Name getShopperName()
Get shopperName- Returns:
- shopperName
-
setShopperName
public void setShopperName(Name shopperName)
-
shopperReference
public StoreDetailAndSubmitRequest shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
The shopper's reference for the payment transaction.- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
shopperStatement
public StoreDetailAndSubmitRequest shopperStatement(String shopperStatement)
-
getShopperStatement
public String getShopperStatement()
The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method).- Returns:
- shopperStatement
-
setShopperStatement
public void setShopperStatement(String shopperStatement)
-
socialSecurityNumber
public StoreDetailAndSubmitRequest socialSecurityNumber(String socialSecurityNumber)
-
getSocialSecurityNumber
public String getSocialSecurityNumber()
The shopper's social security number.- Returns:
- socialSecurityNumber
-
setSocialSecurityNumber
public void setSocialSecurityNumber(String socialSecurityNumber)
-
telephoneNumber
public StoreDetailAndSubmitRequest telephoneNumber(String telephoneNumber)
-
getTelephoneNumber
public String getTelephoneNumber()
The shopper's phone number.- Returns:
- telephoneNumber
-
setTelephoneNumber
public void setTelephoneNumber(String telephoneNumber)
-
equals
public boolean equals(Object o)
Return true if this StoreDetailAndSubmitRequest object is equal to o.
-
fromJson
public static StoreDetailAndSubmitRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of StoreDetailAndSubmitRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoreDetailAndSubmitRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to StoreDetailAndSubmitRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of StoreDetailAndSubmitRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-