Package com.stripe.model

Examples of com.stripe.model.ChargeCollection


  @Test
  public void testChargeListWithTotalCount() throws StripeException {
    Map<String, Object> listParams = new HashMap<String, Object>();
    listParams.put("include[]", "total_count");
    ChargeCollection chargeCollection = Charge.all(listParams);
    assertFalse(chargeCollection.getTotalCount() == null);
    assertTrue(chargeCollection.getTotalCount() > 0);
  }
View Full Code Here

TOP

Related Classes of com.stripe.model.ChargeCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.