Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.SubscriptionUpdate
Description
Contains the types generated from the schema SubscriptionUpdate
Synopsis
- data SubscriptionUpdate = SubscriptionUpdate {
- subscriptionUpdateAuto_renew :: Maybe Bool
- subscriptionUpdateBilling_info_id :: Maybe Text
- subscriptionUpdateCollection_method :: Maybe SubscriptionUpdateCollection_method
- subscriptionUpdateCustom_fields :: Maybe CustomFields
- subscriptionUpdateCustomer_notes :: Maybe Text
- subscriptionUpdateGateway_code :: Maybe Text
- subscriptionUpdateNet_terms :: Maybe Int
- subscriptionUpdateNet_terms_type :: Maybe SubscriptionUpdateNet_terms_type
- subscriptionUpdateNext_bill_date :: Maybe JsonDateTime
- subscriptionUpdatePo_number :: Maybe Text
- subscriptionUpdateRemaining_billing_cycles :: Maybe Int
- subscriptionUpdateRenewal_billing_cycles :: Maybe Int
- subscriptionUpdateRevenue_schedule_type :: Maybe SubscriptionUpdateRevenue_schedule_type
- subscriptionUpdateShipping :: Maybe SubscriptionShippingUpdate
- subscriptionUpdateTax_inclusive :: Maybe Bool
- subscriptionUpdateTerms_and_conditions :: Maybe Text
- mkSubscriptionUpdate :: SubscriptionUpdate
- data SubscriptionUpdateCollection_method
- data SubscriptionUpdateNet_terms_type
- data SubscriptionUpdateRevenue_schedule_type
- = SubscriptionUpdateRevenue_schedule_typeOther Value
- | SubscriptionUpdateRevenue_schedule_typeTyped Text
- | SubscriptionUpdateRevenue_schedule_typeEnumAt_range_end
- | SubscriptionUpdateRevenue_schedule_typeEnumAt_range_start
- | SubscriptionUpdateRevenue_schedule_typeEnumEvenly
- | SubscriptionUpdateRevenue_schedule_typeEnumNever
Documentation
data SubscriptionUpdate Source #
Defines the object schema located at components.schemas.SubscriptionUpdate
in the specification.
Constructors
SubscriptionUpdate | |
Fields
|
Instances
FromJSON SubscriptionUpdate Source # | |
Defined in RecurlyClient.Types.SubscriptionUpdate Methods parseJSON :: Value -> Parser SubscriptionUpdate # parseJSONList :: Value -> Parser [SubscriptionUpdate] # | |
ToJSON SubscriptionUpdate Source # | |
Defined in RecurlyClient.Types.SubscriptionUpdate Methods toJSON :: SubscriptionUpdate -> Value # toEncoding :: SubscriptionUpdate -> Encoding # toJSONList :: [SubscriptionUpdate] -> Value # toEncodingList :: [SubscriptionUpdate] -> Encoding # | |
Show SubscriptionUpdate Source # | |
Defined in RecurlyClient.Types.SubscriptionUpdate Methods showsPrec :: Int -> SubscriptionUpdate -> ShowS # show :: SubscriptionUpdate -> String # showList :: [SubscriptionUpdate] -> ShowS # | |
Eq SubscriptionUpdate Source # | |
Defined in RecurlyClient.Types.SubscriptionUpdate Methods (==) :: SubscriptionUpdate -> SubscriptionUpdate -> Bool # (/=) :: SubscriptionUpdate -> SubscriptionUpdate -> Bool # |
mkSubscriptionUpdate :: SubscriptionUpdate Source #
Create a new SubscriptionUpdate
with all required fields.
data SubscriptionUpdateCollection_method Source #
Defines the enum schema located at components.schemas.SubscriptionUpdate.properties.collection_method
in the specification.
Constructors
SubscriptionUpdateCollection_methodOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionUpdateCollection_methodTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionUpdateCollection_methodEnumAutomatic | Represents the JSON value |
SubscriptionUpdateCollection_methodEnumManual | Represents the JSON value |
Instances
data SubscriptionUpdateNet_terms_type Source #
Defines the enum schema located at components.schemas.SubscriptionUpdate.properties.net_terms_type
in the specification.
Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month.
Constructors
SubscriptionUpdateNet_terms_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionUpdateNet_terms_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionUpdateNet_terms_typeEnumNet | Represents the JSON value |
SubscriptionUpdateNet_terms_typeEnumEom | Represents the JSON value |
Instances
data SubscriptionUpdateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.SubscriptionUpdate.properties.revenue_schedule_type
in the specification.
Constructors
SubscriptionUpdateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionUpdateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionUpdateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
SubscriptionUpdateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
SubscriptionUpdateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
SubscriptionUpdateRevenue_schedule_typeEnumNever | Represents the JSON value |