Package com.adyen.model.management
Class UpdateStoreRequest
- java.lang.Object
-
- com.adyen.model.management.UpdateStoreRequest
-
public class UpdateStoreRequest extends Object
UpdateStoreRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateStoreRequest.StatusEnumThe status of the store.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_BUSINESS_LINE_IDSstatic StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_EXTERNAL_REFERENCE_IDstatic StringJSON_PROPERTY_SPLIT_CONFIGURATIONstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description UpdateStoreRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateStoreRequestaddBusinessLineIdsItem(String businessLineIdsItem)UpdateStoreRequestaddress(UpdatableAddress address)UpdateStoreRequestbusinessLineIds(List<String> businessLineIds)UpdateStoreRequestdescription(String description)booleanequals(Object o)Return true if this UpdateStoreRequest object is equal to o.UpdateStoreRequestexternalReferenceId(String externalReferenceId)static UpdateStoreRequestfromJson(String jsonString)Create an instance of UpdateStoreRequest given an JSON stringUpdatableAddressgetAddress()Get addressList<String>getBusinessLineIds()The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with.StringgetDescription()The description of the store.StringgetExternalReferenceId()When using the Zip payment method: The location ID that Zip has assigned to your store.StoreSplitConfigurationgetSplitConfiguration()Get splitConfigurationUpdateStoreRequest.StatusEnumgetStatus()The status of the store.inthashCode()voidsetAddress(UpdatableAddress address)voidsetBusinessLineIds(List<String> businessLineIds)voidsetDescription(String description)voidsetExternalReferenceId(String externalReferenceId)voidsetSplitConfiguration(StoreSplitConfiguration splitConfiguration)voidsetStatus(UpdateStoreRequest.StatusEnum status)UpdateStoreRequestsplitConfiguration(StoreSplitConfiguration splitConfiguration)UpdateStoreRequeststatus(UpdateStoreRequest.StatusEnum status)StringtoJson()Convert an instance of UpdateStoreRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_LINE_IDS
public static final String JSON_PROPERTY_BUSINESS_LINE_IDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_REFERENCE_ID
public static final String JSON_PROPERTY_EXTERNAL_REFERENCE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SPLIT_CONFIGURATION
public static final String JSON_PROPERTY_SPLIT_CONFIGURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public UpdateStoreRequest address(UpdatableAddress address)
-
getAddress
public UpdatableAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(UpdatableAddress address)
-
businessLineIds
public UpdateStoreRequest businessLineIds(List<String> businessLineIds)
-
addBusinessLineIdsItem
public UpdateStoreRequest addBusinessLineIdsItem(String businessLineIdsItem)
-
getBusinessLineIds
public List<String> getBusinessLineIds()
The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__resParam_id) that the store is associated with.- Returns:
- businessLineIds
-
description
public UpdateStoreRequest description(String description)
-
getDescription
public String getDescription()
The description of the store.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
externalReferenceId
public UpdateStoreRequest externalReferenceId(String externalReferenceId)
-
getExternalReferenceId
public String getExternalReferenceId()
When using the Zip payment method: The location ID that Zip has assigned to your store.- Returns:
- externalReferenceId
-
setExternalReferenceId
public void setExternalReferenceId(String externalReferenceId)
-
splitConfiguration
public UpdateStoreRequest splitConfiguration(StoreSplitConfiguration splitConfiguration)
-
getSplitConfiguration
public StoreSplitConfiguration getSplitConfiguration()
Get splitConfiguration- Returns:
- splitConfiguration
-
setSplitConfiguration
public void setSplitConfiguration(StoreSplitConfiguration splitConfiguration)
-
status
public UpdateStoreRequest status(UpdateStoreRequest.StatusEnum status)
-
getStatus
public UpdateStoreRequest.StatusEnum getStatus()
The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened.- Returns:
- status
-
setStatus
public void setStatus(UpdateStoreRequest.StatusEnum status)
-
equals
public boolean equals(Object o)
Return true if this UpdateStoreRequest object is equal to o.
-
fromJson
public static UpdateStoreRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdateStoreRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateStoreRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdateStoreRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdateStoreRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-