コード例 #1
0
 @NonNull
 public static JsonObject getFullJson2(@NonNull Context context) {
   return JsonFixture.getJsonElementFromAsset(context, "fixtures/orderahead/viewable_order-2.json")
       .getAsJsonObject();
 }
 @NonNull
 public static JsonElement monthlyBillingJson(@NonNull Context context) {
   return JsonFixture.getJsonElementFromAsset(
       context, "fixtures/paymentmethod/credit_card_payment_method-monthly_billing.json");
 }
 @NonNull
 public static JsonElement preloadJson(@NonNull Context context) {
   return JsonFixture.getJsonElementFromAsset(
       context, "fixtures/paymentmethod/credit_card_payment_method-preload.json");
 }
コード例 #4
0
 @NonNull
 public static JsonArray getFullJson(@NonNull Context context) {
   return JsonFixture.getJsonElementFromAsset(context, "fixtures/rewards.json").getAsJsonArray();
 }