All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stripe.model.MetadataStore Maven / Gradle / Ivy

There is a newer version: 26.13.0-beta.1
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy