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 |
Lists the purchases that were canceled, refunded or charged-back.
See: Google Play Developer API Reference for androidpublisher.purchases.voidedpurchases.list
.
Synopsis
- type PurchasesVoidedpurchasesListResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("voidedpurchases" :> (QueryParam "startTime" (Textual Int64) :> (QueryParam "token" Text :> (QueryParam "endTime" (Textual Int64) :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] VoidedPurchasesListResponse)))))))))))
- purchasesVoidedpurchasesList :: Text -> PurchasesVoidedpurchasesList
- data PurchasesVoidedpurchasesList
- pvlPackageName :: Lens' PurchasesVoidedpurchasesList Text
- pvlStartTime :: Lens' PurchasesVoidedpurchasesList (Maybe Int64)
- pvlToken :: Lens' PurchasesVoidedpurchasesList (Maybe Text)
- pvlEndTime :: Lens' PurchasesVoidedpurchasesList (Maybe Int64)
- pvlStartIndex :: Lens' PurchasesVoidedpurchasesList (Maybe Word32)
- pvlMaxResults :: Lens' PurchasesVoidedpurchasesList (Maybe Word32)
REST Resource
type PurchasesVoidedpurchasesListResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("purchases" :> ("voidedpurchases" :> (QueryParam "startTime" (Textual Int64) :> (QueryParam "token" Text :> (QueryParam "endTime" (Textual Int64) :> (QueryParam "startIndex" (Textual Word32) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] VoidedPurchasesListResponse))))))))))) Source #
A resource alias for androidpublisher.purchases.voidedpurchases.list
method which the
PurchasesVoidedpurchasesList
request conforms to.
Creating a Request
purchasesVoidedpurchasesList Source #
Creates a value of PurchasesVoidedpurchasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PurchasesVoidedpurchasesList Source #
Lists the purchases that were canceled, refunded or charged-back.
See: purchasesVoidedpurchasesList
smart constructor.
Instances
Request Lenses
pvlPackageName :: Lens' PurchasesVoidedpurchasesList Text Source #
The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').
pvlStartTime :: Lens' PurchasesVoidedpurchasesList (Maybe Int64) Source #
The time, in milliseconds since the Epoch, of the oldest voided in-app product purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.
pvlEndTime :: Lens' PurchasesVoidedpurchasesList (Maybe Int64) Source #
The time, in milliseconds since the Epoch, of the newest voided in-app product purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response.