Package com.stripe.model.issuing
Class Program
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.Program
- All Implemented Interfaces:
HasId,MetadataStore<Program>,StripeActiveObject,StripeObjectInterface
An Issuing
Program represents a card program that the user has access to.-
Nested Class Summary
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 Programcreate(ProgramCreateParams params) Create aProgramobject.static Programcreate(ProgramCreateParams params, RequestOptions options) Create aProgramobject.static ProgramCreate aProgramobject.static Programcreate(Map<String, Object> params, RequestOptions options) Create aProgramobject.booleanTime at which the object was created.getId()Unique identifier for the object.Whether or not this is the "default" issuing program new cards are created on.Set of key-value pairs that you can attach to an object.String representing the object's type.The platform's Issuing Program for which this program is associated.inthashCode()static ProgramCollectionlist(ProgramListParams params) List all of the programs the given Issuing user has access to.static ProgramCollectionlist(ProgramListParams params, RequestOptions options) List all of the programs the given Issuing user has access to.static ProgramCollectionList all of the programs the given Issuing user has access to.static ProgramCollectionlist(Map<String, Object> params, RequestOptions options) List all of the programs the given Issuing user has access to.static ProgramRetrieves the program specified by the given id.static Programretrieve(String program, RequestOptions options) Retrieves the program specified by the given id.static Programretrieve(String program, ProgramRetrieveParams params, RequestOptions options) Retrieves the program specified by the given id.static ProgramRetrieves the program specified by the given id.voidsetCreated(Long created) Time at which the object was created.voidUnique identifier for the object.voidsetIsDefault(Boolean isDefault) Whether or not this is the "default" issuing program new cards are created on.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetPlatformProgram(String platformProgram) The platform's Issuing Program for which this program is associated.update(ProgramUpdateParams params) Updates aProgramobject.update(ProgramUpdateParams params, RequestOptions options) Updates aProgramobject.Updates aProgramobject.update(Map<String, Object> params, RequestOptions options) Updates aProgramobject.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, setResponseGetter, 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
-
Program
public Program()
-
-
Method Details
-
create
Create aProgramobject.- Throws:
StripeException
-
create
public static Program create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreate aProgramobject.- Throws:
StripeException
-
create
Create aProgramobject.- Throws:
StripeException
-
create
public static Program create(ProgramCreateParams params, RequestOptions options) throws StripeException Create aProgramobject.- Throws:
StripeException
-
list
List all of the programs the given Issuing user has access to.- Throws:
StripeException
-
list
public static ProgramCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionList all of the programs the given Issuing user has access to.- Throws:
StripeException
-
list
List all of the programs the given Issuing user has access to.- Throws:
StripeException
-
list
public static ProgramCollection list(ProgramListParams params, RequestOptions options) throws StripeException List all of the programs the given Issuing user has access to.- Throws:
StripeException
-
retrieve
Retrieves the program specified by the given id.- Throws:
StripeException
-
retrieve
Retrieves the program specified by the given id.- Throws:
StripeException
-
retrieve
public static Program retrieve(String program, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the program specified by the given id.- Throws:
StripeException
-
retrieve
public static Program retrieve(String program, ProgramRetrieveParams params, RequestOptions options) throws StripeException Retrieves the program specified by the given id.- Throws:
StripeException
-
update
Updates aProgramobject.- Specified by:
updatein interfaceMetadataStore<Program>- Throws:
StripeException
-
update
Updates aProgramobject.- Specified by:
updatein interfaceMetadataStore<Program>- Throws:
StripeException
-
update
Updates aProgramobject.- Throws:
StripeException
-
update
Updates aProgramobject.- Throws:
StripeException
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getIsDefault
Whether or not this is the "default" issuing program new cards are created on. Only one activeis_defaultprogram at the same time. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.program. -
getPlatformProgram
The platform's Issuing Program for which this program is associated. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setId
Unique identifier for the object. -
setIsDefault
Whether or not this is the "default" issuing program new cards are created on. Only one activeis_defaultprogram at the same time. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.program. -
setPlatformProgram
The platform's Issuing Program for which this program is associated. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.- Specified by:
getMetadatain interfaceMetadataStore<Program>
-