| 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.Content.Orderpayments.Notifyrefund
Description
Notify about refund on user's selected payments method.
See: Content API for Shopping Reference for content.orderpayments.notifyrefund.
Synopsis
- type OrderpaymentsNotifyrefundResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyRefund" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyRefundRequest :> Post '[JSON] OrderpaymentsNotifyRefundResponse)))))))
- orderpaymentsNotifyrefund :: Word64 -> OrderpaymentsNotifyRefundRequest -> Text -> OrderpaymentsNotifyrefund
- data OrderpaymentsNotifyrefund
- ooMerchantId :: Lens' OrderpaymentsNotifyrefund Word64
- ooPayload :: Lens' OrderpaymentsNotifyrefund OrderpaymentsNotifyRefundRequest
- ooOrderId :: Lens' OrderpaymentsNotifyrefund Text
REST Resource
type OrderpaymentsNotifyrefundResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyRefund" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyRefundRequest :> Post '[JSON] OrderpaymentsNotifyRefundResponse))))))) Source #
A resource alias for content.orderpayments.notifyrefund method which the
OrderpaymentsNotifyrefund request conforms to.
Creating a Request
orderpaymentsNotifyrefund Source #
Arguments
| :: Word64 | |
| -> OrderpaymentsNotifyRefundRequest | |
| -> Text | |
| -> OrderpaymentsNotifyrefund |
Creates a value of OrderpaymentsNotifyrefund with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderpaymentsNotifyrefund Source #
Notify about refund on user's selected payments method.
See: orderpaymentsNotifyrefund smart constructor.
Instances
Request Lenses
ooMerchantId :: Lens' OrderpaymentsNotifyrefund Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
ooPayload :: Lens' OrderpaymentsNotifyrefund OrderpaymentsNotifyRefundRequest Source #
Multipart request metadata.