| Copyright | (c) 2015-2016 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.Google.Resource.PlayMoviesPartner.Accounts.Orders.Get
Description
Get an Order given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.
See: Google Play Movies Partner API Reference for playmoviespartner.accounts.orders.get.
- type AccountsOrdersGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("orders" :> (Capture "orderId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order))))))))))))
 - accountsOrdersGet :: Text -> Text -> AccountsOrdersGet
 - data AccountsOrdersGet
 - aogXgafv :: Lens' AccountsOrdersGet (Maybe Text)
 - aogUploadProtocol :: Lens' AccountsOrdersGet (Maybe Text)
 - aogPp :: Lens' AccountsOrdersGet Bool
 - aogAccessToken :: Lens' AccountsOrdersGet (Maybe Text)
 - aogUploadType :: Lens' AccountsOrdersGet (Maybe Text)
 - aogAccountId :: Lens' AccountsOrdersGet Text
 - aogBearerToken :: Lens' AccountsOrdersGet (Maybe Text)
 - aogOrderId :: Lens' AccountsOrdersGet Text
 - aogCallback :: Lens' AccountsOrdersGet (Maybe Text)
 
REST Resource
type AccountsOrdersGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("orders" :> (Capture "orderId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Order)))))))))))) Source #
A resource alias for playmoviespartner.accounts.orders.get method which the
 AccountsOrdersGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> AccountsOrdersGet | 
Creates a value of AccountsOrdersGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsOrdersGet Source #
Get an Order given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.
See: accountsOrdersGet smart constructor.
Request Lenses
aogUploadProtocol :: Lens' AccountsOrdersGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aogAccessToken :: Lens' AccountsOrdersGet (Maybe Text) Source #
OAuth access token.
aogUploadType :: Lens' AccountsOrdersGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aogAccountId :: Lens' AccountsOrdersGet Text Source #
REQUIRED. See _General rules_ for more information about this field.
aogBearerToken :: Lens' AccountsOrdersGet (Maybe Text) Source #
OAuth bearer token.
aogOrderId :: Lens' AccountsOrdersGet Text Source #
REQUIRED. Order ID.
aogCallback :: Lens' AccountsOrdersGet (Maybe Text) Source #
JSONP