Class FrMealVouchersOnboarding
- All Implemented Interfaces:
HasId,MetadataStore<FrMealVouchersOnboarding>,StripeActiveObject,StripeObjectInterface
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.
To onboard a restaurant for the French Meal Vouchers program, you create a French Meal
Vouchers Onboarding object. You can retrieve individual objects, list all such objects, or
update objects to correct the postal code of the restaurant. We identify French Meal
Vouchers Onboarding objects with a unique, random ID.
Related guide: Set up a restaurant for titres-restaurant payments
-
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 aFrench Meal Vouchers Onboardingobject that represents a restaurant’s onboarding status and starts the onboarding process.static FrMealVouchersOnboardingcreate(FrMealVouchersOnboardingCreateParams params, RequestOptions options) Creates aFrench Meal Vouchers Onboardingobject that represents a restaurant’s onboarding status and starts the onboarding process.static FrMealVouchersOnboardingCreates aFrench Meal Vouchers Onboardingobject that represents a restaurant’s onboarding status and starts the onboarding process.static FrMealVouchersOnboardingcreate(Map<String, Object> params, RequestOptions options) Creates aFrench Meal Vouchers Onboardingobject 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()ListsFrench Meal Vouchers Onboardingobjects.list(FrMealVouchersOnboardingListParams params, RequestOptions options) ListsFrench Meal Vouchers Onboardingobjects.ListsFrench Meal Vouchers Onboardingobjects.list(Map<String, Object> params, RequestOptions options) ListsFrench Meal Vouchers Onboardingobjects.static FrMealVouchersOnboardingRetrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.static FrMealVouchersOnboardingretrieve(String id, RequestOptions options) Retrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.static FrMealVouchersOnboardingretrieve(String id, FrMealVouchersOnboardingRetrieveParams params, RequestOptions options) Retrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.static FrMealVouchersOnboardingRetrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.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’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed.update(FrMealVouchersOnboardingUpdateParams params, RequestOptions options) Updates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed.Updates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed.update(Map<String, Object> params, RequestOptions options) Updates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed.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 aFrench Meal Vouchers Onboardingobject 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 aFrench Meal Vouchers Onboardingobject that represents a restaurant’s onboarding status and starts the onboarding process.- Throws:
StripeException
-
create
public static FrMealVouchersOnboarding create(FrMealVouchersOnboardingCreateParams params) throws StripeException Creates aFrench Meal Vouchers Onboardingobject 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 aFrench Meal Vouchers Onboardingobject that represents a restaurant’s onboarding status and starts the onboarding process.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(Map<String, Object> params) throws StripeExceptionListsFrench Meal Vouchers Onboardingobjects. The objects are returned in sorted order, with the most recently created objects appearing first.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionListsFrench Meal Vouchers Onboardingobjects. The objects are returned in sorted order, with the most recently created objects appearing first.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(FrMealVouchersOnboardingListParams params) throws StripeException ListsFrench Meal Vouchers Onboardingobjects. The objects are returned in sorted order, with the most recently created objects appearing first.- Throws:
StripeException
-
list
public static FrMealVouchersOnboardingCollection list(FrMealVouchersOnboardingListParams params, RequestOptions options) throws StripeException ListsFrench Meal Vouchers Onboardingobjects. The objects are returned in sorted order, with the most recently created objects appearing first.- Throws:
StripeException
-
retrieve
Retrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.Supply the unique
French Meal Vouchers OnboardingID that was returned from your previous request, and Stripe returns the corresponding onboarding information.- Throws:
StripeException
-
retrieve
public static FrMealVouchersOnboarding retrieve(String id, RequestOptions options) throws StripeException Retrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.Supply the unique
French Meal Vouchers OnboardingID that was returned from your previous request, and Stripe returns the corresponding onboarding information.- Throws:
StripeException
-
retrieve
public static FrMealVouchersOnboarding retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.Supply the unique
French Meal Vouchers OnboardingID that was returned from your previous request, and Stripe returns the corresponding onboarding information.- Throws:
StripeException
-
retrieve
public static FrMealVouchersOnboarding retrieve(String id, FrMealVouchersOnboardingRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a previously createdFrench Meal Vouchers Onboardingobject.Supply the unique
French Meal Vouchers OnboardingID that was returned from your previous request, and Stripe returns the corresponding onboarding information.- Throws:
StripeException
-
update
Updates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed. Any parameters not provided are left unchanged. After you update the object, the onboarding process automatically restarts.You can only update
French Meal Vouchers Onboardingobjects with thepostal_codefield requirement inpast_due.- Specified by:
updatein interfaceMetadataStore<FrMealVouchersOnboarding>- Throws:
StripeException
-
update
public FrMealVouchersOnboarding update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed. Any parameters not provided are left unchanged. After you update the object, the onboarding process automatically restarts.You can only update
French Meal Vouchers Onboardingobjects with thepostal_codefield requirement inpast_due.- Specified by:
updatein interfaceMetadataStore<FrMealVouchersOnboarding>- Throws:
StripeException
-
update
public FrMealVouchersOnboarding update(FrMealVouchersOnboardingUpdateParams params) throws StripeException Updates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed. Any parameters not provided are left unchanged. After you update the object, the onboarding process automatically restarts.You can only update
French Meal Vouchers Onboardingobjects with thepostal_codefield requirement inpast_due.- Throws:
StripeException
-
update
public FrMealVouchersOnboarding update(FrMealVouchersOnboardingUpdateParams params, RequestOptions options) throws StripeException Updates the details of a restaurant’sFrench Meal Vouchers Onboardingobject by setting the values of the parameters passed. Any parameters not provided are left unchanged. After you update the object, the onboarding process automatically restarts.You can only update
French Meal Vouchers Onboardingobjects with thepostal_codefield requirement inpast_due.- 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>
-