Package com.adyen.model.payout
Class StoreDetailRequest
- java.lang.Object
-
- com.adyen.model.payout.StoreDetailRequest
-
public class StoreDetailRequest extends Object
StoreDetailRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreDetailRequest.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_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_SELECTED_BRANDstatic StringJSON_PROPERTY_SHOPPER_EMAILstatic StringJSON_PROPERTY_SHOPPER_NAMEstatic StringJSON_PROPERTY_SHOPPER_REFERENCEstatic StringJSON_PROPERTY_SOCIAL_SECURITY_NUMBERstatic StringJSON_PROPERTY_TELEPHONE_NUMBER
-
Constructor Summary
Constructors Constructor Description StoreDetailRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreDetailRequestadditionalData(Map<String,String> additionalData)This field contains additional data, which may be required for a particular request.StoreDetailRequestbank(BankAccount bank)bankStoreDetailRequestbillingAddress(Address billingAddress)billingAddressStoreDetailRequestcard(Card card)cardStoreDetailRequestdateOfBirth(LocalDate dateOfBirth)The date of birth.StoreDetailRequestentityType(StoreDetailRequest.EntityTypeEnum entityType)The type of the entity the payout is processed for.booleanequals(Object o)Return true if this StoreDetailRequest object is equal to o.StoreDetailRequestfraudOffset(Integer fraudOffset)An integer value that is added to the normal fraud score.static StoreDetailRequestfromJson(String jsonString)Create an instance of StoreDetailRequest given an JSON stringMap<String,String>getAdditionalData()This field contains additional data, which may be required for a particular request.BankAccountgetBank()bankAddressgetBillingAddress()billingAddressCardgetCard()cardLocalDategetDateOfBirth()The date of birth.StoreDetailRequest.EntityTypeEnumgetEntityType()The type of the entity the payout is processed for.IntegergetFraudOffset()An integer value that is added to the normal fraud score.StringgetMerchantAccount()The merchant account identifier, with which you want to process the transaction.StringgetNationality()The shopper's nationality.RecurringgetRecurring()recurringStringgetSelectedBrand()The name of the brand to make a payout to.StringgetShopperEmail()The shopper's email address.NamegetShopperName()shopperNameStringgetShopperReference()The shopper's reference for the payment transaction.StringgetSocialSecurityNumber()The shopper's social security number.StringgetTelephoneNumber()The shopper's phone number.inthashCode()StoreDetailRequestmerchantAccount(String merchantAccount)The merchant account identifier, with which you want to process the transaction.StoreDetailRequestnationality(String nationality)The shopper's nationality.StoreDetailRequestputAdditionalDataItem(String key, String additionalDataItem)StoreDetailRequestrecurring(Recurring recurring)recurringStoreDetailRequestselectedBrand(String selectedBrand)The name of the brand to make a payout to.voidsetAdditionalData(Map<String,String> additionalData)This field contains additional data, which may be required for a particular request.voidsetBank(BankAccount bank)bankvoidsetBillingAddress(Address billingAddress)billingAddressvoidsetCard(Card card)cardvoidsetDateOfBirth(LocalDate dateOfBirth)The date of birth.voidsetEntityType(StoreDetailRequest.EntityTypeEnum entityType)The type of the entity the payout is processed for.voidsetFraudOffset(Integer fraudOffset)An integer value that is added to the normal fraud score.voidsetMerchantAccount(String merchantAccount)The merchant account identifier, with which you want to process the transaction.voidsetNationality(String nationality)The shopper's nationality.voidsetRecurring(Recurring recurring)recurringvoidsetSelectedBrand(String selectedBrand)The name of the brand to make a payout to.voidsetShopperEmail(String shopperEmail)The shopper's email address.voidsetShopperName(Name shopperName)shopperNamevoidsetShopperReference(String shopperReference)The shopper's reference for the payment transaction.voidsetSocialSecurityNumber(String socialSecurityNumber)The shopper's social security number.voidsetTelephoneNumber(String telephoneNumber)The shopper's phone number.StoreDetailRequestshopperEmail(String shopperEmail)The shopper's email address.StoreDetailRequestshopperName(Name shopperName)shopperNameStoreDetailRequestshopperReference(String shopperReference)The shopper's reference for the payment transaction.StoreDetailRequestsocialSecurityNumber(String socialSecurityNumber)The shopper's social security number.StoreDetailRequesttelephoneNumber(String telephoneNumber)The shopper's phone number.StringtoJson()Convert an instance of StoreDetailRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADDITIONAL_DATA
public static final String JSON_PROPERTY_ADDITIONAL_DATA
- 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_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_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 StoreDetailRequest additionalData(Map<String,String> additionalData)
This field contains additional data, which may be required for a particular request.- Parameters:
additionalData-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
putAdditionalDataItem
public StoreDetailRequest 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
-
setAdditionalData
public void setAdditionalData(Map<String,String> additionalData)
This field contains additional data, which may be required for a particular request.- Parameters:
additionalData-
-
bank
public StoreDetailRequest bank(BankAccount bank)
bank- Parameters:
bank-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getBank
public BankAccount getBank()
bank- Returns:
- bank
-
setBank
public void setBank(BankAccount bank)
bank- Parameters:
bank-
-
billingAddress
public StoreDetailRequest billingAddress(Address billingAddress)
billingAddress- Parameters:
billingAddress-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getBillingAddress
public Address getBillingAddress()
billingAddress- Returns:
- billingAddress
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
billingAddress- Parameters:
billingAddress-
-
card
public StoreDetailRequest card(Card card)
card- Parameters:
card-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getCard
public Card getCard()
card- Returns:
- card
-
setCard
public void setCard(Card card)
card- Parameters:
card-
-
dateOfBirth
public StoreDetailRequest dateOfBirth(LocalDate dateOfBirth)
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.- Parameters:
dateOfBirth-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
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)
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.- Parameters:
dateOfBirth-
-
entityType
public StoreDetailRequest entityType(StoreDetailRequest.EntityTypeEnum entityType)
The type of the entity the payout is processed for.- Parameters:
entityType-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getEntityType
public StoreDetailRequest.EntityTypeEnum getEntityType()
The type of the entity the payout is processed for.- Returns:
- entityType
-
setEntityType
public void setEntityType(StoreDetailRequest.EntityTypeEnum entityType)
The type of the entity the payout is processed for.- Parameters:
entityType-
-
fraudOffset
public StoreDetailRequest fraudOffset(Integer fraudOffset)
An integer value that is added to the normal fraud score. The value can be either positive or negative.- Parameters:
fraudOffset-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
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)
An integer value that is added to the normal fraud score. The value can be either positive or negative.- Parameters:
fraudOffset-
-
merchantAccount
public StoreDetailRequest merchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount-
-
nationality
public StoreDetailRequest nationality(String nationality)
The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL').- Parameters:
nationality-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
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)
The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL').- Parameters:
nationality-
-
recurring
public StoreDetailRequest recurring(Recurring recurring)
recurring- Parameters:
recurring-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getRecurring
public Recurring getRecurring()
recurring- Returns:
- recurring
-
setRecurring
public void setRecurring(Recurring recurring)
recurring- Parameters:
recurring-
-
selectedBrand
public StoreDetailRequest selectedBrand(String selectedBrand)
The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`.- Parameters:
selectedBrand-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
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)
The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`.- Parameters:
selectedBrand-
-
shopperEmail
public StoreDetailRequest shopperEmail(String shopperEmail)
The shopper's email address.- Parameters:
shopperEmail-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getShopperEmail
public String getShopperEmail()
The shopper's email address.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
The shopper's email address.- Parameters:
shopperEmail-
-
shopperName
public StoreDetailRequest shopperName(Name shopperName)
shopperName- Parameters:
shopperName-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getShopperName
public Name getShopperName()
shopperName- Returns:
- shopperName
-
setShopperName
public void setShopperName(Name shopperName)
shopperName- Parameters:
shopperName-
-
shopperReference
public StoreDetailRequest shopperReference(String shopperReference)
The shopper's reference for the payment transaction.- Parameters:
shopperReference-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getShopperReference
public String getShopperReference()
The shopper's reference for the payment transaction.- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
The shopper's reference for the payment transaction.- Parameters:
shopperReference-
-
socialSecurityNumber
public StoreDetailRequest socialSecurityNumber(String socialSecurityNumber)
The shopper's social security number.- Parameters:
socialSecurityNumber-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getSocialSecurityNumber
public String getSocialSecurityNumber()
The shopper's social security number.- Returns:
- socialSecurityNumber
-
setSocialSecurityNumber
public void setSocialSecurityNumber(String socialSecurityNumber)
The shopper's social security number.- Parameters:
socialSecurityNumber-
-
telephoneNumber
public StoreDetailRequest telephoneNumber(String telephoneNumber)
The shopper's phone number.- Parameters:
telephoneNumber-- Returns:
- the current
StoreDetailRequestinstance, allowing for method chaining
-
getTelephoneNumber
public String getTelephoneNumber()
The shopper's phone number.- Returns:
- telephoneNumber
-
setTelephoneNumber
public void setTelephoneNumber(String telephoneNumber)
The shopper's phone number.- Parameters:
telephoneNumber-
-
equals
public boolean equals(Object o)
Return true if this StoreDetailRequest object is equal to o.
-
fromJson
public static StoreDetailRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of StoreDetailRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoreDetailRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to StoreDetailRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of StoreDetailRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-