View Source Craftgate.Response.ProductResponse (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.response.ProductResponse
Link to this section Summary
Functions
Callback implementation for Construct.cast/2
.
Callback implementation for Construct.make/2
.
Callback implementation for Construct.make!/2
.
Attempts to parse the input as an instance of this struct
Bangified version of parse/1
Returns the names of the fields that are serializable/deserializable
Attempts to serialize this struct as a JSON string
Bangified version of serialize/2
Link to this section Types
@type t() :: %Craftgate.Response.ProductResponse{ channel: String.t() | nil, conversation_id: String.t() | nil, currency: Craftgate.Model.Currency.t() | nil, description: String.t() | nil, enabled_installments: [integer()] | nil, external_id: String.t() | nil, id: integer() | nil, name: String.t() | nil, order_id: String.t() | nil, price: Decimal.t() | nil, qr_code_url: String.t() | nil, sold_count: integer() | nil, status: Craftgate.Model.Status.t() | nil, stock: integer() | nil, token: String.t() | nil, url: String.t() | nil }
Link to this section Functions
Callback implementation for Construct.cast/2
.
Callback implementation for Construct.make/2
.
Callback implementation for Construct.make!/2
.
Attempts to parse the input as an instance of this struct
See also: Craftgate.Serializable.parse/2
Bangified version of parse/1
@spec serializable_fields() :: [atom()]
Returns the names of the fields that are serializable/deserializable
Attempts to serialize this struct as a JSON string
Bangified version of serialize/2