Package com.stripe.model
Class FrMealVouchersOnboarding
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.FrMealVouchersOnboarding
- All Implemented Interfaces:
HasId,MetadataStore<FrMealVouchersOnboarding>,StripeActiveObject,StripeObjectInterface
public class FrMealVouchersOnboarding
extends ApiResource
implements HasId, MetadataStore<FrMealVouchersOnboarding>
The French Meal Vouchers Onboarding resource encapsulates the onboarding status and other related
information for a single restaurant (SIRET number) in the context of the French Meal Vouchers
program.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis represents the onboarding state of the restaurant on different providers.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 FrMealVouchersOnboardingCreates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.static FrMealVouchersOnboardingcreate(FrMealVouchersOnboardingCreateParams params, RequestOptions options) Creates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.static FrMealVouchersOnboardingCreates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.static FrMealVouchersOnboardingcreate(Map<String, Object> params, RequestOptions options) Creates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.booleangetId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.getName()Name of the restaurant.String representing the object's type.Postal code of the restaurant.This represents the onboarding state of the restaurant on different providers.getSiret()SIRET number associated with the restaurant.inthashCode()Lists French Meal Vouchers Onboarding objects.list(FrMealVouchersOnboardingListParams params, RequestOptions options) Lists French Meal Vouchers Onboarding objects.Lists French Meal Vouchers Onboarding objects.list(Map<String, Object> params, RequestOptions options) Lists French Meal Vouchers Onboarding objects.static FrMealVouchersOnboardingRetrieves the details of a French Meal Vouchers Onboarding object.static FrMealVouchersOnboardingretrieve(String id, RequestOptions options) Retrieves the details of a French Meal Vouchers Onboarding object.static FrMealVouchersOnboardingretrieve(String id, FrMealVouchersOnboardingRetrieveParams params, RequestOptions options) Retrieves the details of a French Meal Vouchers Onboarding object.static FrMealVouchersOnboardingRetrieves the details of a French Meal Vouchers Onboarding object.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidName of the restaurant.voidString representing the object's type.voidsetPostalCode(String postalCode) Postal code of the restaurant.voidsetProviders(FrMealVouchersOnboarding.Providers providers) This represents the onboarding state of the restaurant on different providers.voidsetResponseGetter(StripeResponseGetter responseGetter) The specific onboarding requirement field (in the requirements hash) that needs to be resolved.voidSIRET number associated with the restaurant.Updates the details of a restaurant’s French Meal Vouchers Onboarding object.update(FrMealVouchersOnboardingUpdateParams params, RequestOptions options) Updates the details of a restaurant’s French Meal Vouchers Onboarding object.Updates the details of a restaurant’s French Meal Vouchers Onboarding object.update(Map<String, Object> params, RequestOptions options) Updates the details of a restaurant’s French Meal Vouchers Onboarding object.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
-
FrMealVouchersOnboarding
public FrMealVouchersOnboarding()
-
-
Method Details
-
create
Creates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.- Throws:
StripeException
-
create
public static FrMealVouchersOnboarding create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.- Throws:
StripeException
-
create
public static FrMealVouchersOnboarding create(FrMealVouchersOnboardingCreateParams params) throws StripeException Creates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.- Throws:
StripeException
-
create
public static FrMealVouchersOnboarding create(FrMealVouchersOnboardingCreateParams params, RequestOptions options) throws StripeException Creates a French Meal Vouchers Onboarding object that represents a restaurant’s onboarding status and starts the onboarding process.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(Map<String, Object> params) throws StripeExceptionLists French Meal Vouchers Onboarding objects.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionLists French Meal Vouchers Onboarding objects.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(FrMealVouchersOnboardingListParams params) throws StripeException Lists French Meal Vouchers Onboarding objects.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(FrMealVouchersOnboardingListParams params, RequestOptions options) throws StripeException Lists French Meal Vouchers Onboarding objects.- Throws:
StripeException
-
retrieve
Retrieves the details of a French Meal Vouchers Onboarding object.- Throws:
StripeException
-
retrieve
public static FrMealVouchersOnboarding retrieve(String id, RequestOptions options) throws StripeException Retrieves the details of a French Meal Vouchers Onboarding object.- Throws:
StripeException
-
retrieve
public static FrMealVouchersOnboarding retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of a French Meal Vouchers Onboarding object.- Throws:
StripeException
-
retrieve
public static FrMealVouchersOnboarding retrieve(String id, FrMealVouchersOnboardingRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a French Meal Vouchers Onboarding object.- Throws:
StripeException
-
update
Updates the details of a restaurant’s French Meal Vouchers Onboarding object.- Specified by:
updatein interfaceMetadataStore<FrMealVouchersOnboarding>- Throws:
StripeException
-
update
public FrMealVouchersOnboarding update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates the details of a restaurant’s French Meal Vouchers Onboarding object.- Specified by:
updatein interfaceMetadataStore<FrMealVouchersOnboarding>- Throws:
StripeException
-
update
public FrMealVouchersOnboarding update(FrMealVouchersOnboardingUpdateParams params) throws StripeException Updates the details of a restaurant’s French Meal Vouchers Onboarding object.- Throws:
StripeException
-
update
public FrMealVouchersOnboarding update(FrMealVouchersOnboardingUpdateParams params, RequestOptions options) throws StripeException Updates the details of a restaurant’s French Meal Vouchers Onboarding object.- Throws:
StripeException
-
setResponseGetter
The specific onboarding requirement field (in the requirements hash) that needs to be resolved.One of
postal_code, orsiret.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getName
Name of the restaurant. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
fr_meal_vouchers_onboarding. -
getPostalCode
Postal code of the restaurant. -
getProviders
This represents the onboarding state of the restaurant on different providers. -
getSiret
SIRET number associated with the restaurant. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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. -
setName
Name of the restaurant. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
fr_meal_vouchers_onboarding. -
setPostalCode
Postal code of the restaurant. -
setProviders
This represents the onboarding state of the restaurant on different providers. -
setSiret
SIRET number associated with the restaurant. -
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<FrMealVouchersOnboarding>
-