@@ -436,7 +436,7 @@ public static class ConsumePSNEntitlementsResult {
436
436
public static class ConsumeXboxEntitlementsRequest {
437
437
/** Catalog version to use */
438
438
public String CatalogVersion ;
439
- /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */
439
+ /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/ ", ""). */
440
440
public String XboxToken ;
441
441
442
442
}
@@ -2164,10 +2164,11 @@ public static class GrantCharacterToUserResult {
2164
2164
}
2165
2165
2166
2166
/**
2167
- * A unique instance of an item in a user's inventory. Note, to retrieve additional information for an item instance (such
2168
- * as Tags, Description, or Custom Data that are set on the root catalog item), a call to GetCatalogItems is required. The
2169
- * Item ID of the instance can then be matched to a catalog entry, which contains the additional information. Also note
2170
- * that Custom Data is only set here from a call to UpdateUserInventoryItemCustomData.
2167
+ * A unique instance of an item in a user's inventory. Note, to retrieve additional information for an item such as Tags,
2168
+ * Description that are the same across all instances of the item, a call to GetCatalogItems is required. The ItemID of can
2169
+ * be matched to a catalog entry, which contains the additional information. Also note that Custom Data is only set when
2170
+ * the User's specific instance has updated the CustomData via a call to UpdateUserInventoryItemCustomData. Other fields
2171
+ * such as UnitPrice and UnitCurrency are only set when the item was granted via a purchase.
2171
2172
*/
2172
2173
public static class ItemInstance implements Comparable <ItemInstance > {
2173
2174
/** Game specific comment associated with this instance when it was added to the user inventory. */
@@ -2197,9 +2198,9 @@ public static class ItemInstance implements Comparable<ItemInstance> {
2197
2198
public Date PurchaseDate ;
2198
2199
/** Total number of remaining uses, if this is a consumable item. */
2199
2200
public Integer RemainingUses ;
2200
- /** Currency type for the cost of the catalog item. */
2201
+ /** Currency type for the cost of the catalog item. Not available when granting items. */
2201
2202
public String UnitCurrency ;
2202
- /** Cost of the catalog item in the given currency. */
2203
+ /** Cost of the catalog item in the given currency. Not available when granting items. */
2203
2204
public Long UnitPrice ;
2204
2205
/** The number of uses that were added or removed to this item in this call. */
2205
2206
public Integer UsesIncrementedBy ;
@@ -2471,7 +2472,7 @@ public static class LinkWindowsHelloAccountResponse {
2471
2472
public static class LinkXboxAccountRequest {
2472
2473
/** If another user is already linked to the account, unlink the other user and re-link. */
2473
2474
public Boolean ForceLink ;
2474
- /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */
2475
+ /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/ ", ""). */
2475
2476
public String XboxToken ;
2476
2477
2477
2478
}
@@ -3014,7 +3015,7 @@ public static class LoginWithXboxRequest {
3014
3015
* title has been selected.
3015
3016
*/
3016
3017
public String TitleId ;
3017
- /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */
3018
+ /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/ ", ""). */
3018
3019
public String XboxToken ;
3019
3020
3020
3021
}
@@ -3340,6 +3341,23 @@ public static class PurchaseItemResult {
3340
3341
3341
3342
}
3342
3343
3344
+ public static class PurchaseReceiptFulfillment {
3345
+ /** Items granted to the player in fulfillment of the validated receipt. */
3346
+ public ArrayList <ItemInstance > FulfilledItems ;
3347
+ /**
3348
+ * Source of the payment price information for the recorded purchase transaction. A value of 'Request' indicates that the
3349
+ * price specified in the request was used, whereas a value of 'Catalog' indicates that the real-money price of the catalog
3350
+ * item matching the product ID in the validated receipt transaction and the currency specified in the request (defaulting
3351
+ * to USD) was used.
3352
+ */
3353
+ public String RecordedPriceSource ;
3354
+ /** Currency used to purchase the items (ISO 4217 currency code). */
3355
+ public String RecordedTransactionCurrency ;
3356
+ /** Amount of the stated currency paid for the items, in centesimal units */
3357
+ public Long RecordedTransactionTotal ;
3358
+
3359
+ }
3360
+
3343
3361
public static enum PushNotificationPlatform {
3344
3362
ApplePushNotificationService ,
3345
3363
GoogleCloudMessaging
@@ -3563,13 +3581,17 @@ public static class ReportPlayerClientResult {
3563
3581
* they still exist in the catalog and can be validated.
3564
3582
*/
3565
3583
public static class RestoreIOSPurchasesRequest {
3584
+ /** Catalog version of the restored items. If null, defaults to primary catalog. */
3585
+ public String CatalogVersion ;
3566
3586
/** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */
3567
3587
public String ReceiptData ;
3568
3588
3569
3589
}
3570
3590
3571
3591
/** Once verified, the valid items will be restored into the user's inventory. */
3572
3592
public static class RestoreIOSPurchasesResult {
3593
+ /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */
3594
+ public ArrayList <PurchaseReceiptFulfillment > Fulfillments ;
3573
3595
3574
3596
}
3575
3597
@@ -4082,7 +4104,7 @@ public static class UnlinkWindowsHelloAccountResponse {
4082
4104
}
4083
4105
4084
4106
public static class UnlinkXboxAccountRequest {
4085
- /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", ""). */
4107
+ /** Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com/ ", ""). */
4086
4108
public String XboxToken ;
4087
4109
4088
4110
}
@@ -4546,11 +4568,11 @@ public static class UserXboxInfo {
4546
4568
}
4547
4569
4548
4570
public static class ValidateAmazonReceiptRequest {
4549
- /** Catalog version to use when granting receipt item . If null, defaults to primary catalog. */
4571
+ /** Catalog version of the fulfilled items . If null, defaults to the primary catalog. */
4550
4572
public String CatalogVersion ;
4551
- /** Currency used for the purchase. */
4573
+ /** Currency used to pay for the purchase (ISO 4217 currency code) . */
4552
4574
public String CurrencyCode ;
4553
- /** Amount of the stated currency paid for the object . */
4575
+ /** Amount of the stated currency paid, in centesimal units . */
4554
4576
public Integer PurchasePrice ;
4555
4577
/** ReceiptId returned by the Amazon App Store in-app purchase API */
4556
4578
public String ReceiptId ;
@@ -4561,6 +4583,8 @@ public static class ValidateAmazonReceiptRequest {
4561
4583
4562
4584
/** Once verified, the catalog item matching the Amazon item name will be added to the user's inventory. */
4563
4585
public static class ValidateAmazonReceiptResult {
4586
+ /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */
4587
+ public ArrayList <PurchaseReceiptFulfillment > Fulfillments ;
4564
4588
4565
4589
}
4566
4590
@@ -4572,9 +4596,11 @@ public static class ValidateAmazonReceiptResult {
4572
4596
* avoid granting the same item over and over from a single purchase.
4573
4597
*/
4574
4598
public static class ValidateGooglePlayPurchaseRequest {
4575
- /** Currency used for the purchase. */
4599
+ /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */
4600
+ public String CatalogVersion ;
4601
+ /** Currency used to pay for the purchase (ISO 4217 currency code). */
4576
4602
public String CurrencyCode ;
4577
- /** Amount of the stated currency paid for the object . */
4603
+ /** Amount of the stated currency paid, in centesimal units . */
4578
4604
public Long PurchasePrice ;
4579
4605
/** Original JSON string returned by the Google Play IAB API. */
4580
4606
public String ReceiptJson ;
@@ -4588,6 +4614,8 @@ public static class ValidateGooglePlayPurchaseRequest {
4588
4614
* inventory.
4589
4615
*/
4590
4616
public static class ValidateGooglePlayPurchaseResult {
4617
+ /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */
4618
+ public ArrayList <PurchaseReceiptFulfillment > Fulfillments ;
4591
4619
4592
4620
}
4593
4621
@@ -4599,9 +4627,11 @@ public static class ValidateGooglePlayPurchaseResult {
4599
4627
* $19.99 purchase, for example).
4600
4628
*/
4601
4629
public static class ValidateIOSReceiptRequest {
4602
- /** Currency used for the purchase. */
4630
+ /** Catalog version of the fulfilled items. If null, defaults to the primary catalog. */
4631
+ public String CatalogVersion ;
4632
+ /** Currency used to pay for the purchase (ISO 4217 currency code). */
4603
4633
public String CurrencyCode ;
4604
- /** Amount of the stated currency paid for the object . */
4634
+ /** Amount of the stated currency paid, in centesimal units . */
4605
4635
public Integer PurchasePrice ;
4606
4636
/** Base64 encoded receipt data, passed back by the App Store as a result of a successful purchase. */
4607
4637
public String ReceiptData ;
@@ -4610,15 +4640,17 @@ public static class ValidateIOSReceiptRequest {
4610
4640
4611
4641
/** Once verified, the catalog item matching the iTunes item name will be added to the user's inventory. */
4612
4642
public static class ValidateIOSReceiptResult {
4643
+ /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */
4644
+ public ArrayList <PurchaseReceiptFulfillment > Fulfillments ;
4613
4645
4614
4646
}
4615
4647
4616
4648
public static class ValidateWindowsReceiptRequest {
4617
- /** Catalog version to use when granting receipt item . If null, defaults to primary catalog. */
4649
+ /** Catalog version of the fulfilled items . If null, defaults to the primary catalog. */
4618
4650
public String CatalogVersion ;
4619
- /** Currency used for the purchase. */
4651
+ /** Currency used to pay for the purchase (ISO 4217 currency code) . */
4620
4652
public String CurrencyCode ;
4621
- /** Amount of the stated currency paid for the object . */
4653
+ /** Amount of the stated currency paid, in centesimal units . */
4622
4654
public Long PurchasePrice ;
4623
4655
/** XML Receipt returned by the Windows App Store in-app purchase API */
4624
4656
public String Receipt ;
@@ -4627,6 +4659,8 @@ public static class ValidateWindowsReceiptRequest {
4627
4659
4628
4660
/** Once verified, the catalog item matching the Product name will be added to the user's inventory. */
4629
4661
public static class ValidateWindowsReceiptResult {
4662
+ /** Fulfilled inventory items and recorded purchases in fulfillment of the validated receipt transactions. */
4663
+ public ArrayList <PurchaseReceiptFulfillment > Fulfillments ;
4630
4664
4631
4665
}
4632
4666
0 commit comments