Current section

Files

Jump to
ex_thinkific_api lib thinkific model create_coupon_request.ex
Raw

lib/thinkific/model/create_coupon_request.ex

# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule Thinkific.Model.CreateCouponRequest do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"code",
:"note",
:"quantity"
]
@type t :: %__MODULE__{
:"code" => String.t,
:"note" => String.t,
:"quantity" => float()
}
end
defimpl Poison.Decoder, for: Thinkific.Model.CreateCouponRequest do
def decode(value, _options) do
value
end
end