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 report for disbursements from your Merchant Center account.
See: Content API for Shopping Reference for content.orderreports.listdisbursements
.
Synopsis
- type OrderreportsListdisbursementsResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreports" :> ("disbursements" :> (QueryParam "disbursementStartDate" Text :> (QueryParam "disbursementEndDate" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderreportsListDisbursementsResponse)))))))))
- orderreportsListdisbursements :: Word64 -> Text -> OrderreportsListdisbursements
- data OrderreportsListdisbursements
- olDisbursementEndDate :: Lens' OrderreportsListdisbursements (Maybe Text)
- olMerchantId :: Lens' OrderreportsListdisbursements Word64
- olPageToken :: Lens' OrderreportsListdisbursements (Maybe Text)
- olDisbursementStartDate :: Lens' OrderreportsListdisbursements Text
- olMaxResults :: Lens' OrderreportsListdisbursements (Maybe Word32)
REST Resource
type OrderreportsListdisbursementsResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderreports" :> ("disbursements" :> (QueryParam "disbursementStartDate" Text :> (QueryParam "disbursementEndDate" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderreportsListDisbursementsResponse))))))))) Source #
A resource alias for content.orderreports.listdisbursements
method which the
OrderreportsListdisbursements
request conforms to.
Creating a Request
orderreportsListdisbursements Source #
Creates a value of OrderreportsListdisbursements
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderreportsListdisbursements Source #
Retrieves a report for disbursements from your Merchant Center account.
See: orderreportsListdisbursements
smart constructor.
Instances
Request Lenses
olDisbursementEndDate :: Lens' OrderreportsListdisbursements (Maybe Text) Source #
The last date which disbursements occurred. In ISO 8601 format. Default: current date.
olMerchantId :: Lens' OrderreportsListdisbursements Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
olPageToken :: Lens' OrderreportsListdisbursements (Maybe Text) Source #
The token returned by the previous request.
olDisbursementStartDate :: Lens' OrderreportsListdisbursements Text Source #
The first date which disbursements occurred. In ISO 8601 format.
olMaxResults :: Lens' OrderreportsListdisbursements (Maybe Word32) Source #
The maximum number of disbursements to return in the response, used for paging.