Package com.stripe.model

Examples of com.stripe.model.Refund.update()


    Map<String, String> metadata = new HashMap<String, String>();
    metadata.put("foo", "bar");

    Map<String, Object> updateParams = new HashMap<String, Object>();
    updateParams.put("metadata", metadata);
    refund = refund.update(updateParams, Stripe.apiKey);

    assertEquals("bar", refund.getMetadata().get("foo"));
  }

  @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.