Package com.adyen.model.balanceplatform
Class CardOrder
- java.lang.Object
-
- com.adyen.model.balanceplatform.CardOrder
-
public class CardOrder extends Object
CardOrder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardOrder.StatusEnumThe status of the card order.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BEGIN_DATEstatic StringJSON_PROPERTY_CARD_MANUFACTURING_PROFILE_IDstatic StringJSON_PROPERTY_CLOSED_DATEstatic StringJSON_PROPERTY_END_DATEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_LOCK_DATEstatic StringJSON_PROPERTY_SERVICE_CENTERstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description CardOrder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CardOrderbeginDate(OffsetDateTime beginDate)The date when the card order is created.CardOrdercardManufacturingProfileId(String cardManufacturingProfileId)The unique identifier of the card manufacturer profile.CardOrderclosedDate(OffsetDateTime closedDate)The date when the card order processing ends.CardOrderendDate(OffsetDateTime endDate)The date when you manually closed the card order.booleanequals(Object o)Return true if this CardOrder object is equal to o.static CardOrderfromJson(String jsonString)Create an instance of CardOrder given an JSON stringOffsetDateTimegetBeginDate()The date when the card order is created.StringgetCardManufacturingProfileId()The unique identifier of the card manufacturer profile.OffsetDateTimegetClosedDate()The date when the card order processing ends.OffsetDateTimegetEndDate()The date when you manually closed the card order.StringgetId()The unique identifier of the card order.OffsetDateTimegetLockDate()The date when the card order processing begins.StringgetServiceCenter()The service center.CardOrder.StatusEnumgetStatus()The status of the card order.inthashCode()CardOrderid(String id)The unique identifier of the card order.CardOrderlockDate(OffsetDateTime lockDate)The date when the card order processing begins.CardOrderserviceCenter(String serviceCenter)The service center.voidsetBeginDate(OffsetDateTime beginDate)The date when the card order is created.voidsetCardManufacturingProfileId(String cardManufacturingProfileId)The unique identifier of the card manufacturer profile.voidsetClosedDate(OffsetDateTime closedDate)The date when the card order processing ends.voidsetEndDate(OffsetDateTime endDate)The date when you manually closed the card order.voidsetId(String id)The unique identifier of the card order.voidsetLockDate(OffsetDateTime lockDate)The date when the card order processing begins.voidsetServiceCenter(String serviceCenter)The service center.voidsetStatus(CardOrder.StatusEnum status)The status of the card order.CardOrderstatus(CardOrder.StatusEnum status)The status of the card order.StringtoJson()Convert an instance of CardOrder to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BEGIN_DATE
public static final String JSON_PROPERTY_BEGIN_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_MANUFACTURING_PROFILE_ID
public static final String JSON_PROPERTY_CARD_MANUFACTURING_PROFILE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLOSED_DATE
public static final String JSON_PROPERTY_CLOSED_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_END_DATE
public static final String JSON_PROPERTY_END_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCK_DATE
public static final String JSON_PROPERTY_LOCK_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVICE_CENTER
public static final String JSON_PROPERTY_SERVICE_CENTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
beginDate
public CardOrder beginDate(OffsetDateTime beginDate)
The date when the card order is created.- Parameters:
beginDate-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getBeginDate
public OffsetDateTime getBeginDate()
The date when the card order is created.- Returns:
- beginDate
-
setBeginDate
public void setBeginDate(OffsetDateTime beginDate)
The date when the card order is created.- Parameters:
beginDate-
-
cardManufacturingProfileId
public CardOrder cardManufacturingProfileId(String cardManufacturingProfileId)
The unique identifier of the card manufacturer profile.- Parameters:
cardManufacturingProfileId-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getCardManufacturingProfileId
public String getCardManufacturingProfileId()
The unique identifier of the card manufacturer profile.- Returns:
- cardManufacturingProfileId
-
setCardManufacturingProfileId
public void setCardManufacturingProfileId(String cardManufacturingProfileId)
The unique identifier of the card manufacturer profile.- Parameters:
cardManufacturingProfileId-
-
closedDate
public CardOrder closedDate(OffsetDateTime closedDate)
The date when the card order processing ends.- Parameters:
closedDate-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getClosedDate
public OffsetDateTime getClosedDate()
The date when the card order processing ends.- Returns:
- closedDate
-
setClosedDate
public void setClosedDate(OffsetDateTime closedDate)
The date when the card order processing ends.- Parameters:
closedDate-
-
endDate
public CardOrder endDate(OffsetDateTime endDate)
The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.- Parameters:
endDate-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getEndDate
public OffsetDateTime getEndDate()
The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.- Returns:
- endDate
-
setEndDate
public void setEndDate(OffsetDateTime endDate)
The date when you manually closed the card order. Card orders are automatically closed by the end of the day it was created. If you manually closed it beforehand, the closing date is shown as the `endDate`.- Parameters:
endDate-
-
id
public CardOrder id(String id)
The unique identifier of the card order.- Parameters:
id-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the card order.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the card order.- Parameters:
id-
-
lockDate
public CardOrder lockDate(OffsetDateTime lockDate)
The date when the card order processing begins.- Parameters:
lockDate-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getLockDate
public OffsetDateTime getLockDate()
The date when the card order processing begins.- Returns:
- lockDate
-
setLockDate
public void setLockDate(OffsetDateTime lockDate)
The date when the card order processing begins.- Parameters:
lockDate-
-
serviceCenter
public CardOrder serviceCenter(String serviceCenter)
The service center.- Parameters:
serviceCenter-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getServiceCenter
public String getServiceCenter()
The service center.- Returns:
- serviceCenter
-
setServiceCenter
public void setServiceCenter(String serviceCenter)
The service center.- Parameters:
serviceCenter-
-
status
public CardOrder status(CardOrder.StatusEnum status)
The status of the card order. Possible values: **Open**, **Closed**.- Parameters:
status-- Returns:
- the current
CardOrderinstance, allowing for method chaining
-
getStatus
public CardOrder.StatusEnum getStatus()
The status of the card order. Possible values: **Open**, **Closed**.- Returns:
- status
-
setStatus
public void setStatus(CardOrder.StatusEnum status)
The status of the card order. Possible values: **Open**, **Closed**.- Parameters:
status-
-
equals
public boolean equals(Object o)
Return true if this CardOrder object is equal to o.
-
fromJson
public static CardOrder fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CardOrder given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CardOrder
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CardOrder
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CardOrder to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-