{"id":450,"date":"2017-08-03T06:55:28","date_gmt":"2017-08-03T06:55:28","guid":{"rendered":"http:\/\/happily70.dothome.co.kr\/?p=450"},"modified":"2017-09-21T13:30:37","modified_gmt":"2017-09-21T13:30:37","slug":"purchases-subscriptions-in-google-play-developer-api","status":"publish","type":"post","link":"http:\/\/happily70.dothome.co.kr\/?p=450","title":{"rendered":"Purchases.subscriptions in Google Play Developer API"},"content":{"rendered":"<p>SubscriptionPurchase\uc740 \uc0ac\uc6a9\uc790\uc758 \uad6c\ub3c5\uacb0\uc81c\uc0c1\ud0dc\ub97c \uac00\ub9ac\ud0a8\ub2e4.<\/p>\n<pre class=\"prettyprint\">{\r\n  \"kind\": \"androidpublisher#subscriptionPurchase\",\r\n  \"startTimeMillis\": long,\r\n  \"expiryTimeMillis\": long,\r\n  \"autoRenewing\": boolean,\r\n  \"priceCurrencyCode\": string,\r\n  \"priceAmountMicros\": long,\r\n  \"countryCode\": string,\r\n  \"developerPayload\": string,\r\n  \"paymentState\": integer,\r\n  \"cancelReason\": integer,\r\n  \"userCancellationTimeMillis\": long\r\n}<\/pre>\n<table class=\"wFull\">\n<colgroup>\n<col width=\"32%\" \/>\n<col width=\"20%\" \/>\n<col width=\"*\" \/> <\/colgroup>\n<tbody>\n<tr>\n<th style=\"text-align:center;\">properties name<\/th>\n<th style=\"text-align:center;\">value<\/th>\n<th style=\"text-align:center;\">description<\/th>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>autoRenewing<\/strong><\/td>\n<td>boolean<\/td>\n<td>\uad6c\ub3c5\ub9cc\ub8cc\uc77c\uc2dc\uac00 \ub418\uc5c8\uc744\ub54c, \uad6c\ub3c5\uc5ec\ubd80\ub97c \uc790\ub3d9\uc73c\ub85c \uac31\uc2e0\ud560 \uac83\uc778\uc9c0 \uc5ec\ubd80.<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 16px;text-align:center;\"><strong>cancelReason<\/strong><\/td>\n<td style=\"text-align:center;\">integer<\/td>\n<td>\uad6c\ub3c5\uc774 \ucde8\uc18c\ub41c \uc774\uc720 \ud639\uc740 \uc790\ub3d9 \uac31\uc2e0\uc774 \uc548 \ub41c \uc774\uc720.<br \/>\n0. \uc0ac\uc6a9\uc790\uac00 \uad6c\ub3c5\uc744 \ucde8\uc18c.<br \/>\n1. \uacb0\uc81c\uc2dc\uc2a4\ud15c \ubb38\uc81c\ub85c \uad6c\ub3c5 \ucde8\uc18c. (ex. \uccad\uad6c\uc11c \ubb38\uc81c\ub85c \uc778\ud55c.)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>countryCode<\/strong><\/td>\n<td style=\"text-align:center;\">string<\/td>\n<td><a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1_alpha-2#Current_codes\" target=\"_blank\" rel=\"noopener\">ISO 3166-1 alpha-2<\/a> \uad6c\ub3c5\uc774 \uc2b9\uc778\ub41c \uc2dc\uac04\uc758 \uc0ac\uc6a9\uc790\uc758 \uad6d\uac00\/\uc9c0\uc5ed \ucf54\ub4dc.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>developerPayload<\/strong><\/td>\n<td style=\"text-align:center;\">string<\/td>\n<td>\uac1c\ubc1c\uc790\uac00 \uba85\uc2dc\ud55c \ub0b4\uc6a9\uc73c\ub85c \uc624\ub354\uc5d0 \ub300\ud55c \ucd94\uac00\uc801\uc778 \uc815\ubcf4\ub97c \ud3ec\ud568.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>expiryTimeMillis<\/strong><\/td>\n<td style=\"text-align:center;\">long<\/td>\n<td>\uad6c\ub3c5\uc774 \ub9cc\ub8cc\ub418\ub294 \uc2dc\uac04(\ub2e8\uc704 : \ubc00\ub9ac \ucd08)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>kind<\/strong><\/td>\n<td style=\"text-align:center;\">string<\/td>\n<td>This kind represents a subscriptionPurchase object in the androidpublisher service.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>paymentState<\/strong><\/td>\n<td style=\"text-align:center;\">integer<\/td>\n<td>\uad6c\ub3c5\ub8cc\uc758 \uc9c0\ubd88\uc0c1\ud0dc.<br \/>\n0. \uacb0\uc81c \ub300\uae30\uc911.<br \/>\n1. \uacb0\uc81c \uc644\ub8cc.<br \/>\n2. \ubb34\ub8cc\uccb4\ud5d8\ud310.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>priceAmountMicros<\/strong><\/td>\n<td style=\"text-align:center;\">long<\/td>\n<td>tax\uac00 \ud3ec\ud568\ub418\uc9c0 \uc54a\uc740 \uad6c\ub3c5\ub8cc.<br \/>\n\uac00\uaca9\uc740 \ub9c8\uc774\ud06c\ub85c \ub2e8\uc704\ub85c \ud45c\uc2dc\ub418\uba70, \uc5ec\uae30\uc11c 1,000,000 \ub9c8\uc774\ud06c\ub85c \ub2e8\uc704\ub294 \ud1b5\ud654 \ub2e8\uc704 1 \uac1c\ub97c \ub098\ud0c0\ub0c4.<br \/>\n(\uc608\ub97c \ub4e4\uc5b4 \uad6c\ub3c5 \uac00\uaca9\uc774 1.99 \uc720\ub85c \uc778 \uacbd\uc6b0 price_amount_micros\ub294 1990000)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>priceCurrencyCode<\/strong><\/td>\n<td style=\"text-align:center;\">string<\/td>\n<td><a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_4217#Active_codes\" target=\"_blank\" rel=\"noopener\">ISO 4217 currency code<\/a><br \/>\n\uad6c\ub3c5\ub8cc\uc5d0 \ub300\ud55c \ud1b5\ud654\ucf54\ub4dc. (\uc608\ub97c \ub4e4\uc5b4 \uac00\uaca9\uc774 \uc601\uad6d \ud30c\uc6b4\ub4dc\ub85c \uc9c0\uc815\ub41c \uacbd\uc6b0 price_currency_code\ub294 &#8220;GBP&#8221;)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>startTimeMillis<\/strong><\/td>\n<td style=\"text-align:center;\">long<\/td>\n<td>\ubc00\ub9ac \ucd08 \ub2e8\uc704\ub85c \uad6c\ub3c5\uc774 \ud5c8\uac00 \ub41c \uc2dc\uac04.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align:center;\"><strong>userCancellationTimeMillis<\/strong><\/td>\n<td style=\"text-align:center;\">long<\/td>\n<td>\uc0ac\uc6a9\uc790\uac00 \uad6c\ub3c5\uc744 \ucde8\uc18c \ud55c \uc2dc\uac04 (\ub2e8\uc704 : \ubc00\ub9ac \ucd08). cancelReason\uc774 0 \uc778 \uacbd\uc6b0\uc5d0\ub9cc \ud45c\uc2dc.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\ucc38\uace0 : <a href=\"https:\/\/developers.google.com\/android-publisher\/api-ref\/purchases\/subscriptions\" target=\"_blank\" >https:\/\/developers.google.com\/android-publisher\/api-ref\/purchases\/subscriptions<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SubscriptionPurchase\uc740 \uc0ac\uc6a9\uc790\uc758 \uad6c\ub3c5\uacb0\uc81c\uc0c1\ud0dc\ub97c \uac00\ub9ac\ud0a8\ub2e4. { &#8220;kind&#8221;: &#8220;androidpublisher#subscriptionPurchase&#8221;, &#8220;startTimeMillis&#8221;: long, &#8220;expiryTimeMillis&#8221;: long, &#8220;autoRenewing&#8221;: boolean, &#8220;priceCurrencyCode&#8221;: string, &#8220;priceAmountMicros&#8221;: long, &#8220;countryCode&#8221;: string, &#8220;developerPayload&#8221;: string, &#8220;paymentState&#8221;: integer, &#8220;cancelReason&#8221;: integer, &#8220;userCancellationTimeMillis&#8221;: long } properties name value description autoRenewing boolean \uad6c\ub3c5\ub9cc\ub8cc\uc77c\uc2dc\uac00 \ub418\uc5c8\uc744\ub54c, \uad6c\ub3c5\uc5ec\ubd80\ub97c \uc790\ub3d9\uc73c\ub85c \uac31\uc2e0\ud560 \uac83\uc778\uc9c0 \uc5ec\ubd80. cancelReason integer \uad6c\ub3c5\uc774 \ucde8\uc18c\ub41c \uc774\uc720 \ud639\uc740 \uc790\ub3d9 \uac31\uc2e0\uc774 \uc548 \ub41c \uc774\uc720. 0. \uc0ac\uc6a9\uc790\uac00 \uad6c\ub3c5\uc744<\/p>\n<footer class=\"entry-footer index-entry\">\n<div class=\"post-social pull-left\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=http%3A%2F%2Fhappily70.dothome.co.kr%2F%3Fp%3D450\" target=\"_blank\" class=\"social-icons\"><i class=\"fa fa-facebook\" aria-hidden=\"true\"><\/i><\/a><a href=\"https:\/\/twitter.com\/home?status=http%3A%2F%2Fhappily70.dothome.co.kr%2F%3Fp%3D450\" target=\"_blank\" class=\"social-icons\"><i class=\"fa fa-twitter\" aria-hidden=\"true\"><\/i><\/a><a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=http%3A%2F%2Fhappily70.dothome.co.kr%2F%3Fp%3D450&#038;title=Purchases.subscriptions+in+Google+Play+Developer+API\" target=\"_blank\" class=\"social-icons\"><i class=\"fa fa-linkedin\" aria-hidden=\"true\"><\/i><\/a><\/div>\n<p class=\"link-more\"><a href=\"http:\/\/happily70.dothome.co.kr\/?p=450\" class=\"more-link\">Continue reading <span class=\"meta-nav\">\u2192<\/span><\/a><\/p>\n<\/footer>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,33,28],"tags":[],"class_list":["post-450","post","type-post","status-publish","format-standard","hentry","category-back-end","category-developement","category-etc"],"_links":{"self":[{"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/450"}],"collection":[{"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=450"}],"version-history":[{"count":13,"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/450\/revisions"}],"predecessor-version":[{"id":468,"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/450\/revisions\/468"}],"wp:attachment":[{"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/happily70.dothome.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}