com.stripe.model
Interface MetadataStore<T>
- All Known Implementing Classes:
- Charge, Customer, Recipient, Transfer
public interface MetadataStore<T>
Common interface for Stripe objects that can store metadata.
getMetadata
Map<String,String> getMetadata()
setMetadata
void setMetadata(Map<String,String> metadata)
update
MetadataStore<T> update(Map<String,Object> params)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
update
MetadataStore<T> update(Map<String,Object> params,
String apiKey)
throws AuthenticationException,
InvalidRequestException,
APIConnectionException,
CardException,
APIException
- Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException
Copyright © 2013 Stripe. All rights reserved.