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 |
Starts paid service of a trial subscription
See: Enterprise Apps Reseller API Reference for reseller.subscriptions.startPaidService
.
- type SubscriptionsStartPaidServiceResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("startPaidService" :> (QueryParam "alt" AltJSON :> Post '[JSON] Subscription))))))))
- subscriptionsStartPaidService :: Text -> Text -> SubscriptionsStartPaidService
- data SubscriptionsStartPaidService
- sspsCustomerId :: Lens' SubscriptionsStartPaidService Text
- sspsSubscriptionId :: Lens' SubscriptionsStartPaidService Text
REST Resource
type SubscriptionsStartPaidServiceResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("startPaidService" :> (QueryParam "alt" AltJSON :> Post '[JSON] Subscription)))))))) Source #
A resource alias for reseller.subscriptions.startPaidService
method which the
SubscriptionsStartPaidService
request conforms to.
Creating a Request
subscriptionsStartPaidService Source #
Creates a value of SubscriptionsStartPaidService
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscriptionsStartPaidService Source #
Starts paid service of a trial subscription
See: subscriptionsStartPaidService
smart constructor.
Request Lenses
sspsCustomerId :: Lens' SubscriptionsStartPaidService Text Source #
Id of the Customer
sspsSubscriptionId :: Lens' SubscriptionsStartPaidService Text Source #
Id of the subscription, which is unique for a customer