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 |
Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store).
See: Content API for Shopping Reference for content.orders.instorerefundlineitem
.
Synopsis
- type OrdersInstorerefundlineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("inStoreRefundLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersInStoreRefundLineItemRequest :> Post '[JSON] OrdersInStoreRefundLineItemResponse)))))))
- ordersInstorerefundlineitem :: Word64 -> OrdersInStoreRefundLineItemRequest -> Text -> OrdersInstorerefundlineitem
- data OrdersInstorerefundlineitem
- oiMerchantId :: Lens' OrdersInstorerefundlineitem Word64
- oiPayload :: Lens' OrdersInstorerefundlineitem OrdersInStoreRefundLineItemRequest
- oiOrderId :: Lens' OrdersInstorerefundlineitem Text
REST Resource
type OrdersInstorerefundlineitemResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orders" :> (Capture "orderId" Text :> ("inStoreRefundLineItem" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrdersInStoreRefundLineItemRequest :> Post '[JSON] OrdersInStoreRefundLineItemResponse))))))) Source #
A resource alias for content.orders.instorerefundlineitem
method which the
OrdersInstorerefundlineitem
request conforms to.
Creating a Request
ordersInstorerefundlineitem Source #
Creates a value of OrdersInstorerefundlineitem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrdersInstorerefundlineitem Source #
Notifies that item return and refund was handled directly by merchant outside of Google payments processing (e.g. cash refund done in store).
See: ordersInstorerefundlineitem
smart constructor.
Instances
Request Lenses
oiMerchantId :: Lens' OrdersInstorerefundlineitem Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
oiPayload :: Lens' OrdersInstorerefundlineitem OrdersInStoreRefundLineItemRequest Source #
Multipart request metadata.