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 |
Notify about failure to authorize user's payment method.
See: Content API for Shopping Reference for content.orderpayments.notifyauthdeclined
.
Synopsis
- type OrderpaymentsNotifyauthdeclinedResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyAuthDeclined" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyAuthDeclinedRequest :> Post '[JSON] OrderpaymentsNotifyAuthDeclinedResponse)))))))
- orderpaymentsNotifyauthdeclined :: Word64 -> OrderpaymentsNotifyAuthDeclinedRequest -> Text -> OrderpaymentsNotifyauthdeclined
- data OrderpaymentsNotifyauthdeclined
- onMerchantId :: Lens' OrderpaymentsNotifyauthdeclined Word64
- onPayload :: Lens' OrderpaymentsNotifyauthdeclined OrderpaymentsNotifyAuthDeclinedRequest
- onOrderId :: Lens' OrderpaymentsNotifyauthdeclined Text
REST Resource
type OrderpaymentsNotifyauthdeclinedResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyAuthDeclined" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyAuthDeclinedRequest :> Post '[JSON] OrderpaymentsNotifyAuthDeclinedResponse))))))) Source #
A resource alias for content.orderpayments.notifyauthdeclined
method which the
OrderpaymentsNotifyauthdeclined
request conforms to.
Creating a Request
orderpaymentsNotifyauthdeclined Source #
Creates a value of OrderpaymentsNotifyauthdeclined
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderpaymentsNotifyauthdeclined Source #
Notify about failure to authorize user's payment method.
See: orderpaymentsNotifyauthdeclined
smart constructor.
Instances
Request Lenses
onMerchantId :: Lens' OrderpaymentsNotifyauthdeclined Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
onPayload :: Lens' OrderpaymentsNotifyauthdeclined OrderpaymentsNotifyAuthDeclinedRequest Source #
Multipart request metadata.