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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
Below this amount, fixed amounts will be displayed; above it, percentages will be displayed.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_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static Configuration
create
(ConfigurationCreateParams params) Creates a newConfiguration
object.static Configuration
create
(ConfigurationCreateParams params, RequestOptions options) Creates a newConfiguration
object.static Configuration
Creates a newConfiguration
object.static Configuration
create
(Map<String, Object> params, RequestOptions options) Creates a newConfiguration
object.delete()
Deletes aConfiguration
object.delete
(RequestOptions options) Deletes aConfiguration
object.Deletes aConfiguration
object.delete
(Map<String, Object> params, RequestOptions options) Deletes aConfiguration
object.boolean
Always true for a deleted object.getId()
Unique identifier for the object.Whether this Configuration is the default for your account.Has the valuetrue
if the object exists in live mode or the valuefalse
if 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.int
hashCode()
static ConfigurationCollection
list
(ConfigurationListParams params) Returns a list ofConfiguration
objects.static ConfigurationCollection
list
(ConfigurationListParams params, RequestOptions options) Returns a list ofConfiguration
objects.static ConfigurationCollection
Returns a list ofConfiguration
objects.static ConfigurationCollection
list
(Map<String, Object> params, RequestOptions options) Returns a list ofConfiguration
objects.static Configuration
Retrieves aConfiguration
object.static Configuration
retrieve
(String configuration, RequestOptions options) Retrieves aConfiguration
object.static Configuration
retrieve
(String configuration, ConfigurationRetrieveParams params, RequestOptions options) Retrieves aConfiguration
object.static Configuration
Retrieves aConfiguration
object.void
setBbposWiseposE
(Configuration.BbposWiseposE bbposWiseposE) void
setDeleted
(Boolean deleted) Always true for a deleted object.void
Unique identifier for the object.void
setIsAccountDefault
(Boolean isAccountDefault) Whether this Configuration is the default for your account.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String indicating the name of the Configuration object, set by the user.void
String representing the object's type.void
setOffline
(Configuration.Offline offline) void
setRebootWindow
(Configuration.RebootWindow rebootWindow) void
setResponseGetter
(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.void
setStripeS700
(Configuration.StripeS700 stripeS700) void
setTipping
(Configuration.Tipping tipping) void
setVerifoneP400
(Configuration.VerifoneP400 verifoneP400) update
(ConfigurationUpdateParams params) Updates a newConfiguration
object.update
(ConfigurationUpdateParams params, RequestOptions options) Updates a newConfiguration
object.Updates a newConfiguration
object.update
(Map<String, Object> params, RequestOptions options) Updates a newConfiguration
object.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
create
Creates a newConfiguration
object.- Throws:
StripeException
-
create
public static Configuration create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a newConfiguration
object.- Throws:
StripeException
-
create
Creates a newConfiguration
object.- Throws:
StripeException
-
create
public static Configuration create(ConfigurationCreateParams params, RequestOptions options) throws StripeException Creates a newConfiguration
object.- Throws:
StripeException
-
delete
Deletes aConfiguration
object.- Throws:
StripeException
-
delete
Deletes aConfiguration
object.- Throws:
StripeException
-
delete
Deletes aConfiguration
object.- Throws:
StripeException
-
delete
public Configuration delete(Map<String, Object> params, RequestOptions options) throws StripeExceptionDeletes aConfiguration
object.- Throws:
StripeException
-
list
Returns a list ofConfiguration
objects.- Throws:
StripeException
-
list
public static ConfigurationCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list ofConfiguration
objects.- Throws:
StripeException
-
list
Returns a list ofConfiguration
objects.- Throws:
StripeException
-
list
public static ConfigurationCollection list(ConfigurationListParams params, RequestOptions options) throws StripeException Returns a list ofConfiguration
objects.- Throws:
StripeException
-
retrieve
Retrieves aConfiguration
object.- Throws:
StripeException
-
retrieve
public static Configuration retrieve(String configuration, RequestOptions options) throws StripeException Retrieves aConfiguration
object.- Throws:
StripeException
-
retrieve
public static Configuration retrieve(String configuration, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves aConfiguration
object.- Throws:
StripeException
-
retrieve
public static Configuration retrieve(String configuration, ConfigurationRetrieveParams params, RequestOptions options) throws StripeException Retrieves aConfiguration
object.- Throws:
StripeException
-
update
Updates a newConfiguration
object.- Throws:
StripeException
-
update
public Configuration update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates a newConfiguration
object.- Throws:
StripeException
-
update
Updates a newConfiguration
object.- Throws:
StripeException
-
update
public Configuration update(ConfigurationUpdateParams params, RequestOptions options) throws StripeException Updates a newConfiguration
object.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObject
Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getBbposWiseposE
-
getDeleted
Always true for a deleted object. -
getIsAccountDefault
Whether this Configuration is the default for your account. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if 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
-
getRebootWindow
-
getStripeS700
-
getTipping
-
getVerifoneP400
-
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 valuetrue
if the object exists in live mode or the valuefalse
if 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
-
setRebootWindow
-
setStripeS700
-
setTipping
-
setVerifoneP400
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-