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.CustomTypeAdapterFactorystatic classStoreDetailRequest.EntityTypeEnumThe type of the entity the payout is processed for.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDITIONAL_DATAstatic StringSERIALIZED_NAME_BANKstatic StringSERIALIZED_NAME_BILLING_ADDRESSstatic StringSERIALIZED_NAME_CARDstatic StringSERIALIZED_NAME_DATE_OF_BIRTHstatic StringSERIALIZED_NAME_ENTITY_TYPEstatic StringSERIALIZED_NAME_FRAUD_OFFSETstatic StringSERIALIZED_NAME_MERCHANT_ACCOUNTstatic StringSERIALIZED_NAME_NATIONALITYstatic StringSERIALIZED_NAME_RECURRINGstatic StringSERIALIZED_NAME_SELECTED_BRANDstatic StringSERIALIZED_NAME_SHOPPER_EMAILstatic StringSERIALIZED_NAME_SHOPPER_NAMEstatic StringSERIALIZED_NAME_SHOPPER_REFERENCEstatic StringSERIALIZED_NAME_SOCIAL_SECURITY_NUMBERstatic StringSERIALIZED_NAME_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)StoreDetailRequestbank(BankAccount bank)StoreDetailRequestbillingAddress(Address billingAddress)StoreDetailRequestcard(Card card)StoreDetailRequestdateOfBirth(OffsetDateTime dateOfBirth)StoreDetailRequestentityType(StoreDetailRequest.EntityTypeEnum entityType)booleanequals(Object o)StoreDetailRequestfraudOffset(Integer fraudOffset)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()Get bankAddressgetBillingAddress()Get billingAddressCardgetCard()Get cardOffsetDateTimegetDateOfBirth()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()Get recurringStringgetSelectedBrand()The name of the brand to make a payout to.StringgetShopperEmail()The shopper's email address.NamegetShopperName()Get 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)StoreDetailRequestnationality(String nationality)StoreDetailRequestputAdditionalDataItem(String key, String additionalDataItem)StoreDetailRequestrecurring(Recurring recurring)StoreDetailRequestselectedBrand(String selectedBrand)voidsetAdditionalData(Map<String,String> additionalData)voidsetBank(BankAccount bank)voidsetBillingAddress(Address billingAddress)voidsetCard(Card card)voidsetDateOfBirth(OffsetDateTime dateOfBirth)voidsetEntityType(StoreDetailRequest.EntityTypeEnum entityType)voidsetFraudOffset(Integer fraudOffset)voidsetMerchantAccount(String merchantAccount)voidsetNationality(String nationality)voidsetRecurring(Recurring recurring)voidsetSelectedBrand(String selectedBrand)voidsetShopperEmail(String shopperEmail)voidsetShopperName(Name shopperName)voidsetShopperReference(String shopperReference)voidsetSocialSecurityNumber(String socialSecurityNumber)voidsetTelephoneNumber(String telephoneNumber)StoreDetailRequestshopperEmail(String shopperEmail)StoreDetailRequestshopperName(Name shopperName)StoreDetailRequestshopperReference(String shopperReference)StoreDetailRequestsocialSecurityNumber(String socialSecurityNumber)StoreDetailRequesttelephoneNumber(String telephoneNumber)StringtoJson()Convert an instance of StoreDetailRequest to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ADDITIONAL_DATA
public static final String SERIALIZED_NAME_ADDITIONAL_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BANK
public static final String SERIALIZED_NAME_BANK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BILLING_ADDRESS
public static final String SERIALIZED_NAME_BILLING_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CARD
public static final String SERIALIZED_NAME_CARD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_OF_BIRTH
public static final String SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENTITY_TYPE
public static final String SERIALIZED_NAME_ENTITY_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FRAUD_OFFSET
public static final String SERIALIZED_NAME_FRAUD_OFFSET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_ACCOUNT
public static final String SERIALIZED_NAME_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NATIONALITY
public static final String SERIALIZED_NAME_NATIONALITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RECURRING
public static final String SERIALIZED_NAME_RECURRING
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELECTED_BRAND
public static final String SERIALIZED_NAME_SELECTED_BRAND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHOPPER_EMAIL
public static final String SERIALIZED_NAME_SHOPPER_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHOPPER_NAME
public static final String SERIALIZED_NAME_SHOPPER_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHOPPER_REFERENCE
public static final String SERIALIZED_NAME_SHOPPER_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOCIAL_SECURITY_NUMBER
public static final String SERIALIZED_NAME_SOCIAL_SECURITY_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TELEPHONE_NUMBER
public static final String SERIALIZED_NAME_TELEPHONE_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
additionalData
public StoreDetailRequest additionalData(Map<String,String> additionalData)
-
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
-
bank
public StoreDetailRequest bank(BankAccount bank)
-
getBank
public BankAccount getBank()
Get bank- Returns:
- bank
-
setBank
public void setBank(BankAccount bank)
-
billingAddress
public StoreDetailRequest billingAddress(Address billingAddress)
-
getBillingAddress
public Address getBillingAddress()
Get billingAddress- Returns:
- billingAddress
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
-
card
public StoreDetailRequest card(Card card)
-
getCard
public Card getCard()
Get card- Returns:
- card
-
setCard
public void setCard(Card card)
-
dateOfBirth
public StoreDetailRequest dateOfBirth(OffsetDateTime dateOfBirth)
-
getDateOfBirth
public OffsetDateTime 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(OffsetDateTime dateOfBirth)
-
entityType
public StoreDetailRequest entityType(StoreDetailRequest.EntityTypeEnum entityType)
-
getEntityType
public StoreDetailRequest.EntityTypeEnum getEntityType()
The type of the entity the payout is processed for.- Returns:
- entityType
-
setEntityType
public void setEntityType(StoreDetailRequest.EntityTypeEnum entityType)
-
fraudOffset
public StoreDetailRequest 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 StoreDetailRequest 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 StoreDetailRequest 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 StoreDetailRequest recurring(Recurring recurring)
-
getRecurring
public Recurring getRecurring()
Get recurring- Returns:
- recurring
-
setRecurring
public void setRecurring(Recurring recurring)
-
selectedBrand
public StoreDetailRequest 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 StoreDetailRequest shopperEmail(String shopperEmail)
-
getShopperEmail
public String getShopperEmail()
The shopper's email address.- Returns:
- shopperEmail
-
setShopperEmail
public void setShopperEmail(String shopperEmail)
-
shopperName
public StoreDetailRequest shopperName(Name shopperName)
-
getShopperName
public Name getShopperName()
Get shopperName- Returns:
- shopperName
-
setShopperName
public void setShopperName(Name shopperName)
-
shopperReference
public StoreDetailRequest shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
The shopper's reference for the payment transaction.- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
socialSecurityNumber
public StoreDetailRequest socialSecurityNumber(String socialSecurityNumber)
-
getSocialSecurityNumber
public String getSocialSecurityNumber()
The shopper's social security number.- Returns:
- socialSecurityNumber
-
setSocialSecurityNumber
public void setSocialSecurityNumber(String socialSecurityNumber)
-
telephoneNumber
public StoreDetailRequest telephoneNumber(String telephoneNumber)
-
getTelephoneNumber
public String getTelephoneNumber()
The shopper's phone number.- Returns:
- telephoneNumber
-
setTelephoneNumber
public void setTelephoneNumber(String telephoneNumber)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to StoreDetailRequest
-
fromJson
public static StoreDetailRequest fromJson(String jsonString) throws IOException
Create an instance of StoreDetailRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoreDetailRequest
- Throws:
IOException- if the JSON string is invalid with respect to StoreDetailRequest
-
toJson
public String toJson()
Convert an instance of StoreDetailRequest to an JSON string- Returns:
- JSON string
-
-