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 successfully authorizing user's payment method for a given amount.
See: Content API for Shopping Reference for content.orderpayments.notifyauthapproved
.
Synopsis
- type OrderpaymentsNotifyauthApprovedResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyAuthApproved" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyAuthApprovedRequest :> Post '[JSON] OrderpaymentsNotifyAuthApprovedResponse)))))))
- orderpaymentsNotifyauthApproved :: Word64 -> OrderpaymentsNotifyAuthApprovedRequest -> Text -> OrderpaymentsNotifyauthApproved
- data OrderpaymentsNotifyauthApproved
- onaMerchantId :: Lens' OrderpaymentsNotifyauthApproved Word64
- onaPayload :: Lens' OrderpaymentsNotifyauthApproved OrderpaymentsNotifyAuthApprovedRequest
- onaOrderId :: Lens' OrderpaymentsNotifyauthApproved Text
REST Resource
type OrderpaymentsNotifyauthApprovedResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("orderpayments" :> (Capture "orderId" Text :> ("notifyAuthApproved" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] OrderpaymentsNotifyAuthApprovedRequest :> Post '[JSON] OrderpaymentsNotifyAuthApprovedResponse))))))) Source #
A resource alias for content.orderpayments.notifyauthapproved
method which the
OrderpaymentsNotifyauthApproved
request conforms to.
Creating a Request
orderpaymentsNotifyauthApproved Source #
Creates a value of OrderpaymentsNotifyauthApproved
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderpaymentsNotifyauthApproved Source #
Notify about successfully authorizing user's payment method for a given amount.
See: orderpaymentsNotifyauthApproved
smart constructor.
Instances
Request Lenses
onaMerchantId :: Lens' OrderpaymentsNotifyauthApproved Word64 Source #
The ID of the account that manages the order. This cannot be a multi-client account.
onaPayload :: Lens' OrderpaymentsNotifyauthApproved OrderpaymentsNotifyAuthApprovedRequest Source #
Multipart request metadata.
onaOrderId :: Lens' OrderpaymentsNotifyauthApproved Text Source #
The ID of the order for for which payment authorization is happening.