Package com.stripe.model.v2.core
Class Account.FutureRequirements.Entry.Reference
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Account.FutureRequirements.Entry.Reference
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account.FutureRequirements.Entry
A reference to the location of the requirement.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIfinquiryis the type, the inquiry token.Ifresourceis the type, the resource token.getType()The type of the reference.inthashCode()voidsetInquiry(String inquiry) Ifinquiryis the type, the inquiry token.voidsetResource(String resource) Ifresourceis the type, the resource token.voidThe type of the reference.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Reference
public Reference()
-
-
Method Details
-
getInquiry
Ifinquiryis the type, the inquiry token. -
getResource
Ifresourceis the type, the resource token. -
getType
The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. Otherwise the type is an API resource, the token for which can be found in the "resource" field.One of
inquiry,payment_method, orperson. -
setInquiry
Ifinquiryis the type, the inquiry token. -
setResource
Ifresourceis the type, the resource token. -
setType
The type of the reference. If the type is "inquiry", the inquiry token can be found in the "inquiry" field. Otherwise the type is an API resource, the token for which can be found in the "resource" field.One of
inquiry,payment_method, orperson. -
equals
-
canEqual
-
hashCode
public int hashCode()
-