Class CardOrderItem


  • public class CardOrderItem
    extends Object
    CardOrderItem
    • Constructor Detail

      • CardOrderItem

        public CardOrderItem()
      • CardOrderItem

        public CardOrderItem​(String id)
    • Method Detail

      • balancePlatform

        public CardOrderItem balancePlatform​(String balancePlatform)
        The unique identifier of the balance platform.
        Parameters:
        balancePlatform - The unique identifier of the balance platform.
        Returns:
        the current CardOrderItem instance, allowing for method chaining
      • getBalancePlatform

        public String getBalancePlatform()
        The unique identifier of the balance platform.
        Returns:
        balancePlatform The unique identifier of the balance platform.
      • setBalancePlatform

        public void setBalancePlatform​(String balancePlatform)
        The unique identifier of the balance platform.
        Parameters:
        balancePlatform - The unique identifier of the balance platform.
      • cardOrderItemId

        public CardOrderItem cardOrderItemId​(String cardOrderItemId)
        The unique identifier of the card order item.
        Parameters:
        cardOrderItemId - The unique identifier of the card order item.
        Returns:
        the current CardOrderItem instance, allowing for method chaining
      • getCardOrderItemId

        public String getCardOrderItemId()
        The unique identifier of the card order item.
        Returns:
        cardOrderItemId The unique identifier of the card order item.
      • setCardOrderItemId

        public void setCardOrderItemId​(String cardOrderItemId)
        The unique identifier of the card order item.
        Parameters:
        cardOrderItemId - The unique identifier of the card order item.
      • creationDate

        public CardOrderItem creationDate​(OffsetDateTime creationDate)
        The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
        Parameters:
        creationDate - The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
        Returns:
        the current CardOrderItem instance, allowing for method chaining
      • getCreationDate

        public OffsetDateTime getCreationDate()
        The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
        Returns:
        creationDate The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
      • setCreationDate

        public void setCreationDate​(OffsetDateTime creationDate)
        The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
        Parameters:
        creationDate - The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
      • getId

        public String getId()
        The ID of the resource.
        Returns:
        id The ID of the resource.
      • paymentInstrumentId

        public CardOrderItem paymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the payment instrument related to the card order item.
        Parameters:
        paymentInstrumentId - The unique identifier of the payment instrument related to the card order item.
        Returns:
        the current CardOrderItem instance, allowing for method chaining
      • getPaymentInstrumentId

        public String getPaymentInstrumentId()
        The unique identifier of the payment instrument related to the card order item.
        Returns:
        paymentInstrumentId The unique identifier of the payment instrument related to the card order item.
      • setPaymentInstrumentId

        public void setPaymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the payment instrument related to the card order item.
        Parameters:
        paymentInstrumentId - The unique identifier of the payment instrument related to the card order item.
      • shippingMethod

        public CardOrderItem shippingMethod​(String shippingMethod)
        The shipping method used to deliver the card or the PIN.
        Parameters:
        shippingMethod - The shipping method used to deliver the card or the PIN.
        Returns:
        the current CardOrderItem instance, allowing for method chaining
      • getShippingMethod

        public String getShippingMethod()
        The shipping method used to deliver the card or the PIN.
        Returns:
        shippingMethod The shipping method used to deliver the card or the PIN.
      • setShippingMethod

        public void setShippingMethod​(String shippingMethod)
        The shipping method used to deliver the card or the PIN.
        Parameters:
        shippingMethod - The shipping method used to deliver the card or the PIN.
      • includeNullValues

        public CardOrderItem includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this CardOrderItem object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static CardOrderItem fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CardOrderItem given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CardOrderItem
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CardOrderItem
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CardOrderItem to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException