Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema BusinessEntity
Synopsis
- data BusinessEntity = BusinessEntity {
- businessEntityCode :: Maybe Text
- businessEntityCreated_at :: Maybe JsonDateTime
- businessEntityDefault_liability_gl_account_id :: Maybe Text
- businessEntityDefault_registration_number :: Maybe Text
- businessEntityDefault_revenue_gl_account_id :: Maybe Text
- businessEntityDefault_vat_number :: Maybe Text
- businessEntityDestination_tax_address_source :: Maybe BusinessEntityDestination_tax_address_source
- businessEntityId :: Maybe Text
- businessEntityInvoice_display_address :: Maybe Address
- businessEntityName :: Maybe Text
- businessEntityObject :: Maybe Text
- businessEntityOrigin_tax_address_source :: Maybe BusinessEntityOrigin_tax_address_source
- businessEntitySubscriber_location_countries :: Maybe [Text]
- businessEntityTax_address :: Maybe Address
- businessEntityUpdated_at :: Maybe JsonDateTime
- mkBusinessEntity :: BusinessEntity
- data BusinessEntityDestination_tax_address_source
- data BusinessEntityOrigin_tax_address_source
Documentation
data BusinessEntity Source #
Defines the object schema located at components.schemas.BusinessEntity
in the specification.
Business entity details
BusinessEntity | |
|
Instances
FromJSON BusinessEntity Source # | |
Defined in RecurlyClient.Types.BusinessEntity parseJSON :: Value -> Parser BusinessEntity # parseJSONList :: Value -> Parser [BusinessEntity] # | |
ToJSON BusinessEntity Source # | |
Defined in RecurlyClient.Types.BusinessEntity toJSON :: BusinessEntity -> Value # toEncoding :: BusinessEntity -> Encoding # toJSONList :: [BusinessEntity] -> Value # toEncodingList :: [BusinessEntity] -> Encoding # | |
Show BusinessEntity Source # | |
Defined in RecurlyClient.Types.BusinessEntity showsPrec :: Int -> BusinessEntity -> ShowS # show :: BusinessEntity -> String # showList :: [BusinessEntity] -> ShowS # | |
Eq BusinessEntity Source # | |
Defined in RecurlyClient.Types.BusinessEntity (==) :: BusinessEntity -> BusinessEntity -> Bool # (/=) :: BusinessEntity -> BusinessEntity -> Bool # |
mkBusinessEntity :: BusinessEntity Source #
Create a new BusinessEntity
with all required fields.
data BusinessEntityDestination_tax_address_source Source #
Defines the enum schema located at components.schemas.BusinessEntity.properties.destination_tax_address_source
in the specification.
The source of the address that will be used as the destinaion in determining taxes. Available only when the site is on an Elite plan. A value of "destination" refers to the "Customer tax address". A value of "origin" refers to the "Business entity tax address".
BusinessEntityDestination_tax_address_sourceOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
BusinessEntityDestination_tax_address_sourceTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
BusinessEntityDestination_tax_address_sourceEnumDestination | Represents the JSON value |
BusinessEntityDestination_tax_address_sourceEnumOrigin | Represents the JSON value |
data BusinessEntityOrigin_tax_address_source Source #
Defines the enum schema located at components.schemas.BusinessEntity.properties.origin_tax_address_source
in the specification.
The source of the address that will be used as the origin in determining taxes. Available only when the site is on an Elite plan. A value of "origin" refers to the "Business entity tax address". A value of "destination" refers to the "Customer tax address".
BusinessEntityOrigin_tax_address_sourceOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
BusinessEntityOrigin_tax_address_sourceTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
BusinessEntityOrigin_tax_address_sourceEnumOrigin | Represents the JSON value |
BusinessEntityOrigin_tax_address_sourceEnumDestination | Represents the JSON value |