Package com.stripe.model.terminal
Class Configuration
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.terminal.Configuration
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
A Configurations object represents how features should be configured for terminal readers. For
information about how to use it, see the Terminal configurations
documentation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about BbposWisepad3, please refer to the API Reference.static classFor more details about BbposWiseposE, please refer to the API Reference.static classFor more details about Offline, please refer to the API Reference.static classFor more details about ReaderSecurity, please refer to the API Reference.static classFor more details about RebootWindow, please refer to the API Reference.static classFor more details about StripeS700, please refer to the API Reference.static classFor more details about Tipping, please refer to the API Reference.static classFor more details about VerifoneP400, please refer to the API Reference.static classFor more details about Wifi, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic Configurationcreate(ConfigurationCreateParams params) Creates a newConfigurationobject.static Configurationcreate(ConfigurationCreateParams params, RequestOptions options) Creates a newConfigurationobject.static ConfigurationCreates a newConfigurationobject.static Configurationcreate(Map<String, Object> params, RequestOptions options) Creates a newConfigurationobject.delete()Deletes aConfigurationobject.delete(RequestOptions options) Deletes aConfigurationobject.Deletes aConfigurationobject.delete(Map<String, Object> params, RequestOptions options) Deletes aConfigurationobject.booleanAlways true for a deleted object.getId()Unique identifier for the object.Whether this Configuration is the default for your account.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.getName()String indicating the name of the Configuration object, set by the user.String representing the object's type.getWifi()inthashCode()static ConfigurationCollectionlist(ConfigurationListParams params) Returns a list ofConfigurationobjects.static ConfigurationCollectionlist(ConfigurationListParams params, RequestOptions options) Returns a list ofConfigurationobjects.static ConfigurationCollectionReturns a list ofConfigurationobjects.static ConfigurationCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list ofConfigurationobjects.static ConfigurationRetrieves aConfigurationobject.static Configurationretrieve(String configuration, RequestOptions options) Retrieves aConfigurationobject.static Configurationretrieve(String configuration, ConfigurationRetrieveParams params, RequestOptions options) Retrieves aConfigurationobject.static ConfigurationRetrieves aConfigurationobject.voidsetBbposWisepad3(Configuration.BbposWisepad3 bbposWisepad3) voidsetBbposWiseposE(Configuration.BbposWiseposE bbposWiseposE) voidsetDeleted(Boolean deleted) Always true for a deleted object.voidUnique identifier for the object.voidsetIsAccountDefault(Boolean isAccountDefault) Whether this Configuration is the default for your account.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString indicating the name of the Configuration object, set by the user.voidString representing the object's type.voidsetOffline(Configuration.Offline offline) voidsetReaderSecurity(Configuration.ReaderSecurity readerSecurity) voidsetRebootWindow(Configuration.RebootWindow rebootWindow) voidsetResponseGetter(StripeResponseGetter responseGetter) Name of the WiFi network.voidsetStripeS700(Configuration.StripeS700 stripeS700) voidsetTipping(Configuration.Tipping tipping) voidsetVerifoneP400(Configuration.VerifoneP400 verifoneP400) voidsetWifi(Configuration.Wifi wifi) update(ConfigurationUpdateParams params) Updates a newConfigurationobject.update(ConfigurationUpdateParams params, RequestOptions options) Updates a newConfigurationobject.Updates a newConfigurationobject.update(Map<String, Object> params, RequestOptions options) Updates a newConfigurationobject.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
create
Creates a newConfigurationobject.- Throws:
StripeException
-
create
public static Configuration create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a newConfigurationobject.- Throws:
StripeException
-
create
Creates a newConfigurationobject.- Throws:
StripeException
-
create
public static Configuration create(ConfigurationCreateParams params, RequestOptions options) throws StripeException Creates a newConfigurationobject.- Throws:
StripeException
-
delete
Deletes aConfigurationobject.- Throws:
StripeException
-
delete
Deletes aConfigurationobject.- Throws:
StripeException
-
delete
Deletes aConfigurationobject.- Throws:
StripeException
-
delete
public Configuration delete(Map<String, Object> params, RequestOptions options) throws StripeExceptionDeletes aConfigurationobject.- Throws:
StripeException
-
list
Returns a list ofConfigurationobjects.- Throws:
StripeException
-
list
public static ConfigurationCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list ofConfigurationobjects.- Throws:
StripeException
-
list
Returns a list ofConfigurationobjects.- Throws:
StripeException
-
list
public static ConfigurationCollection list(ConfigurationListParams params, RequestOptions options) throws StripeException Returns a list ofConfigurationobjects.- Throws:
StripeException
-
retrieve
Retrieves aConfigurationobject.- Throws:
StripeException
-
retrieve
public static Configuration retrieve(String configuration, RequestOptions options) throws StripeException Retrieves aConfigurationobject.- Throws:
StripeException
-
retrieve
public static Configuration retrieve(String configuration, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves aConfigurationobject.- Throws:
StripeException
-
retrieve
public static Configuration retrieve(String configuration, ConfigurationRetrieveParams params, RequestOptions options) throws StripeException Retrieves aConfigurationobject.- Throws:
StripeException
-
update
Updates a newConfigurationobject.- Throws:
StripeException
-
update
public Configuration update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates a newConfigurationobject.- Throws:
StripeException
-
update
Updates a newConfigurationobject.- Throws:
StripeException
-
update
public Configuration update(ConfigurationUpdateParams params, RequestOptions options) throws StripeException Updates a newConfigurationobject.- Throws:
StripeException
-
setResponseGetter
Name of the WiFi network.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getBbposWisepad3
-
getBbposWiseposE
-
getDeleted
Always true for a deleted object. -
getIsAccountDefault
Whether this Configuration is the default for your account. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getName
String indicating the name of the Configuration object, set by the user. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
terminal.configuration. -
getOffline
-
getReaderSecurity
-
getRebootWindow
-
getStripeS700
-
getTipping
-
getVerifoneP400
-
getWifi
-
setBbposWisepad3
-
setBbposWiseposE
-
setDeleted
Always true for a deleted object. -
setId
Unique identifier for the object. -
setIsAccountDefault
Whether this Configuration is the default for your account. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setName
String indicating the name of the Configuration object, set by the user. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
terminal.configuration. -
setOffline
-
setReaderSecurity
-
setRebootWindow
-
setStripeS700
-
setTipping
-
setVerifoneP400
-
setWifi
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-