com.stripe.model.MetadataStore Maven / Gradle / Ivy
package com.stripe.model;
import com.stripe.exception.APIConnectionException;
import com.stripe.exception.APIException;
import com.stripe.exception.AuthenticationException;
import com.stripe.exception.CardException;
import com.stripe.exception.InvalidRequestException;
import com.stripe.net.RequestOptions;
import java.util.Map;
/**
* Common interface for Stripe objects that can store metadata.
*/
public interface MetadataStore {
Map getMetadata();
MetadataStore update(Map params) throws AuthenticationException, InvalidRequestException,
APIConnectionException, CardException, APIException;
MetadataStore update(Map params, RequestOptions options) throws AuthenticationException, InvalidRequestException,
APIConnectionException, CardException, APIException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy