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 |
Retrieves a list of transactions for a disbursement from your Merchant Center account.
See: Content API for Shopping Reference for content.orderreports.listtransactions
.
Synopsis
- type OrderreportsListtransactionsResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreports" :> ("disbursements" :> (Capture "disbursementId" Text :> ("transactions" :> (QueryParam "transactionStartDate" Text :> (QueryParam "transactionEndDate" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderreportsListTransactionsResponse)))))))))))
- orderreportsListtransactions :: Word64 -> Text -> Text -> OrderreportsListtransactions
- data OrderreportsListtransactions
- olsMerchantId :: Lens' OrderreportsListtransactions Word64
- olsDisbursementId :: Lens' OrderreportsListtransactions Text
- olsTransactionStartDate :: Lens' OrderreportsListtransactions Text
- olsTransactionEndDate :: Lens' OrderreportsListtransactions (Maybe Text)
- olsPageToken :: Lens' OrderreportsListtransactions (Maybe Text)
- olsMaxResults :: Lens' OrderreportsListtransactions (Maybe Word32)
REST Resource
type OrderreportsListtransactionsResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreports" :> ("disbursements" :> (Capture "disbursementId" Text :> ("transactions" :> (QueryParam "transactionStartDate" Text :> (QueryParam "transactionEndDate" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderreportsListTransactionsResponse))))))))))) Source #
A resource alias for content.orderreports.listtransactions
method which the
OrderreportsListtransactions
request conforms to.
Creating a Request
orderreportsListtransactions Source #
:: Word64 | |
-> Text | |
-> Text | |
-> OrderreportsListtransactions |
Creates a value of OrderreportsListtransactions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderreportsListtransactions Source #
Retrieves a list of transactions for a disbursement from your Merchant Center account.
See: orderreportsListtransactions
smart constructor.
Instances
Request Lenses
olsMerchantId :: Lens' OrderreportsListtransactions Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
olsDisbursementId :: Lens' OrderreportsListtransactions Text Source #
The Google-provided ID of the disbursement (found in Wallet).
olsTransactionStartDate :: Lens' OrderreportsListtransactions Text Source #
The first date in which transaction occurred. In ISO 8601 format.
olsTransactionEndDate :: Lens' OrderreportsListtransactions (Maybe Text) Source #
The last date in which transaction occurred. In ISO 8601 format. Default: current date.
olsPageToken :: Lens' OrderreportsListtransactions (Maybe Text) Source #
The token returned by the previous request.
olsMaxResults :: Lens' OrderreportsListtransactions (Maybe Word32) Source #
The maximum number of disbursements to return in the response, used for paging.