recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Get_shipping_address

Description

Contains the different functions to run the operation get_shipping_address

Synopsis

Documentation

get_shipping_address Source #

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

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.

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.