Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_shipping_address
Description
Contains the different functions to run the operation get_shipping_address
Synopsis
- get_shipping_address :: forall m. MonadHTTP m => Get_shipping_addressParameters -> ClientT m (Response Get_shipping_addressResponse)
- data Get_shipping_addressParameters = Get_shipping_addressParameters {}
- mkGet_shipping_addressParameters :: Text -> Text -> Get_shipping_addressParameters
- data Get_shipping_addressResponse
- get_shipping_addressWithConfiguration :: forall m. MonadHTTP m => Configuration -> Get_shipping_addressParameters -> m (Response Get_shipping_addressResponse)
- get_shipping_addressRaw :: forall m. MonadHTTP m => Get_shipping_addressParameters -> ClientT m (Response ByteString)
- get_shipping_addressWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Get_shipping_addressParameters -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> Get_shipping_addressParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response Get_shipping_addressResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses/{shipping_address_id}
Fetch an account's shipping address
data Get_shipping_addressParameters Source #
Defines the object schema located at paths./accounts/{account_id}/shipping_addresses/{shipping_address_id}.GET.parameters
in the specification.
Constructors
Get_shipping_addressParameters | |
Fields
|
Instances
mkGet_shipping_addressParameters Source #
Arguments
:: Text | |
-> Text | |
-> Get_shipping_addressParameters |
Create a new Get_shipping_addressParameters
with all required fields.
data Get_shipping_addressResponse Source #
Represents a response of the operation get_shipping_address
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), Get_shipping_addressResponseError
is used.
Constructors
Get_shipping_addressResponseError String | Means either no matching case available or a parse error |
Get_shipping_addressResponse200 ShippingAddress | A shipping address. |
Get_shipping_addressResponse404 Error | Incorrect site, account, or shipping address ID. |
Get_shipping_addressResponseDefault Error | Unexpected error. |
Instances
Show Get_shipping_addressResponse Source # | |
Defined in RecurlyClient.Operations.Get_shipping_address Methods showsPrec :: Int -> Get_shipping_addressResponse -> ShowS # show :: Get_shipping_addressResponse -> String # showList :: [Get_shipping_addressResponse] -> ShowS # | |
Eq Get_shipping_addressResponse Source # | |
Defined in RecurlyClient.Operations.Get_shipping_address Methods (==) :: Get_shipping_addressResponse -> Get_shipping_addressResponse -> Bool # (/=) :: Get_shipping_addressResponse -> Get_shipping_addressResponse -> Bool # |
get_shipping_addressWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Get_shipping_addressParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response Get_shipping_addressResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses/{shipping_address_id}
The same as get_shipping_address
but accepts an explicit configuration.
get_shipping_addressRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Get_shipping_addressParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses/{shipping_address_id}
The same as get_shipping_address
but returns the raw ByteString
.
get_shipping_addressWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Get_shipping_addressParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses/{shipping_address_id}
The same as get_shipping_address
but accepts an explicit configuration and returns the raw ByteString
.