@@ -1403,7 +1403,8 @@ spPaymentState
1403spKind :: Lens' SubscriptionPurchase Text
1403spKind :: Lens' SubscriptionPurchase Text
1404spKind = lens _spKind (\ s a -> s{_spKind = a})
1404spKind = lens _spKind (\ s a -> s{_spKind = a})
1406−-- | Time at which the subscription will expire, in milliseconds since Epoch.
1406+-- | Time at which the subscription will expire, in milliseconds since the
1407spExpiryTimeMillis :: Lens' SubscriptionPurchase (Maybe Int64)
1408spExpiryTimeMillis :: Lens' SubscriptionPurchase (Maybe Int64)
1408spExpiryTimeMillis
1409spExpiryTimeMillis
1409 = lens _spExpiryTimeMillis
1410 = lens _spExpiryTimeMillis
@@ -1425,10 +1426,9 @@ spPriceCurrencyCode
1425 = lens _spPriceCurrencyCode
1426 = lens _spPriceCurrencyCode
1426 (\ s a -> s{_spPriceCurrencyCode = a})
1427 (\ s a -> s{_spPriceCurrencyCode = a})
1428−-- | The cancel reason of the subscription, if the subscription is not auto
1429+-- | The reason why a subscription was cancelled or is not auto-renewing.
1429−-- renewing. Possible values are: - User cancelled the subscription -
1430+-- Possible values are: - User cancelled the subscription - Subscription
1430−-- Subscription was cancelled by the system, for example because of a
1431+-- was cancelled by the system, for example because of a billing problem
1432spCancelReason :: Lens' SubscriptionPurchase (Maybe Int32)
1432spCancelReason :: Lens' SubscriptionPurchase (Maybe Int32)
1433spCancelReason
1433spCancelReason
1434 = lens _spCancelReason
1434 = lens _spCancelReason
@@ -1450,16 +1450,17 @@ spDeveloperPayload
1450 (\ s a -> s{_spDeveloperPayload = a})
1450 (\ s a -> s{_spDeveloperPayload = a})
1452-- | Price of the subscription, not including tax. Price is expressed in
1452-- | Price of the subscription, not including tax. Price is expressed in
1453−-- micro-units, where 1,000,000 micro-units equal one unit of the currency.
1453+-- micro-units, where 1,000,000 micro-units represents one unit of the
1454−-- For example, if the subscription price is €1.99, price_amount_micros is
1454+-- currency. For example, if the subscription price is €1.99,
1455−-- 1990000.
1455+-- price_amount_micros is 1990000.
1456spPriceAmountMicros :: Lens' SubscriptionPurchase (Maybe Int64)
1456spPriceAmountMicros :: Lens' SubscriptionPurchase (Maybe Int64)
1457spPriceAmountMicros
1457spPriceAmountMicros
1458 = lens _spPriceAmountMicros
1458 = lens _spPriceAmountMicros
1459 (\ s a -> s{_spPriceAmountMicros = a})
1459 (\ s a -> s{_spPriceAmountMicros = a})
1460 . mapping _Coerce
1460 . mapping _Coerce
1462−-- | Time at which the subscription was granted, in milliseconds since Epoch.
1462+-- | Time at which the subscription was granted, in milliseconds since the
1463spStartTimeMillis :: Lens' SubscriptionPurchase (Maybe Int64)
1464spStartTimeMillis :: Lens' SubscriptionPurchase (Maybe Int64)
1464spStartTimeMillis
1465spStartTimeMillis
1465 = lens _spStartTimeMillis
1466 = lens _spStartTimeMillis
@@ -1866,6 +1867,40 @@ instance ToJSON ExternallyHostedAPK where
1866 ("certificateBase64s" .=) <$>
1867 ("certificateBase64s" .=) <$>
1867 _ehapkCertificateBase64s])
1868 _ehapkCertificateBase64s])
1870+-- | Represents a deobfuscation file.
1872+-- /See:/ 'deobfuscationFile' smart constructor.
1873+newtype DeobfuscationFile = DeobfuscationFile'
1874+ { _dfSymbolType :: Maybe Text
1875+ } deriving (Eq,Show,Data,Typeable,Generic)
1877+-- | Creates a value of 'DeobfuscationFile' with the minimum fields required to make a request.
1879+-- Use one of the following lenses to modify other fields as desired:
1883+ :: DeobfuscationFile
1886+ { _dfSymbolType = Nothing
1889+-- | The type of the deobfuscation file.
1890+dfSymbolType :: Lens' DeobfuscationFile (Maybe Text)
1892+ = lens _dfSymbolType (\ s a -> s{_dfSymbolType = a})
1894+instance FromJSON DeobfuscationFile where
1896+ = withObject "DeobfuscationFile"
1897+ (\ o -> DeobfuscationFile' <$> (o .:? "symbolType"))
1899+instance ToJSON DeobfuscationFile where
1900+ toJSON DeobfuscationFile'{..}
1902+ (catMaybes [("symbolType" .=) <$> _dfSymbolType])
1870-- /See:/ 'expansionFilesUploadResponse' smart constructor.
1905-- /See:/ 'expansionFilesUploadResponse' smart constructor.
1871newtype ExpansionFilesUploadResponse = ExpansionFilesUploadResponse'
1906newtype ExpansionFilesUploadResponse = ExpansionFilesUploadResponse'
@@ -1981,6 +2016,45 @@ instance ToJSON Prorate where
1981 [("start" .=) <$> _pStart,
2016 [("start" .=) <$> _pStart,
1982 ("defaultPrice" .=) <$> _pDefaultPrice])
2017 ("defaultPrice" .=) <$> _pDefaultPrice])
2020+-- /See:/ 'deobfuscationFilesUploadResponse' smart constructor.
2021+newtype DeobfuscationFilesUploadResponse = DeobfuscationFilesUploadResponse'
2022+ { _dfurDeobfuscationFile :: Maybe DeobfuscationFile
2023+ } deriving (Eq,Show,Data,Typeable,Generic)
2025+-- | Creates a value of 'DeobfuscationFilesUploadResponse' with the minimum fields required to make a request.
2027+-- Use one of the following lenses to modify other fields as desired:
2029+-- * 'dfurDeobfuscationFile'
2030+deobfuscationFilesUploadResponse
2031+ :: DeobfuscationFilesUploadResponse
2032+deobfuscationFilesUploadResponse =
2033+ DeobfuscationFilesUploadResponse'
2034+ { _dfurDeobfuscationFile = Nothing
2037+dfurDeobfuscationFile :: Lens' DeobfuscationFilesUploadResponse (Maybe DeobfuscationFile)
2038+dfurDeobfuscationFile
2039+ = lens _dfurDeobfuscationFile
2040+ (\ s a -> s{_dfurDeobfuscationFile = a})
2042+instance FromJSON DeobfuscationFilesUploadResponse
2045+ = withObject "DeobfuscationFilesUploadResponse"
2047+ DeobfuscationFilesUploadResponse' <$>
2048+ (o .:? "deobfuscationFile"))
2050+instance ToJSON DeobfuscationFilesUploadResponse
2052+ toJSON DeobfuscationFilesUploadResponse'{..}
2055+ [("deobfuscationFile" .=) <$>
2056+ _dfurDeobfuscationFile])
1985-- /See:/ 'inAppProductsListResponse' smart constructor.
2059-- /See:/ 'inAppProductsListResponse' smart constructor.
1986data InAppProductsListResponse = InAppProductsListResponse'
2060data InAppProductsListResponse = InAppProductsListResponse'
@@ -2262,9 +2336,9 @@ subscriptionDeferralInfo =
2262 , _sdiExpectedExpiryTimeMillis = Nothing
2336 , _sdiExpectedExpiryTimeMillis = Nothing
2265−-- | The desired next expiry time for the subscription in milliseconds since
2339+-- | The desired next expiry time to assign to the subscription, in
2340+-- milliseconds since the Epoch. The given time must be later\/greater than
2266−-- Epoch. The given time must be after the current expiry time for the
2341+-- the current expiry time for the subscription.
2268sdiDesiredExpiryTimeMillis :: Lens' SubscriptionDeferralInfo (Maybe Int64)
2342sdiDesiredExpiryTimeMillis :: Lens' SubscriptionDeferralInfo (Maybe Int64)
2269sdiDesiredExpiryTimeMillis
2343sdiDesiredExpiryTimeMillis
2270 = lens _sdiDesiredExpiryTimeMillis
2344 = lens _sdiDesiredExpiryTimeMillis