Package model
Class ComplianceForm
- java.lang.Object
-
- model.ComplianceForm
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ComplianceForm extends Object
ComplianceForm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplianceForm.CustomTypeAdapterFactorystatic classComplianceForm.StateEnumThe state of the `compliance_form`.static classComplianceForm.TypeEnumType of `compliance_form`.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPLIANCE_FORM_TEMPLATEstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_DUE_ATstatic StringSERIALIZED_NAME_FILESstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LINKED_TOstatic StringSERIALIZED_NAME_LINKED_TYPEstatic StringSERIALIZED_NAME_PCI_SAQ_Astatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_VALID_FROMstatic StringSERIALIZED_NAME_VALID_UNTIL
-
Constructor Summary
Constructors Constructor Description ComplianceForm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplianceFormcomplianceFormTemplate(String complianceFormTemplate)ComplianceFormcreatedAt(OffsetDateTime createdAt)ComplianceFormdueAt(OffsetDateTime dueAt)booleanequals(Object o)ComplianceFormfiles(ComplianceFormFiles files)static ComplianceFormfromJson(String jsonString)Create an instance of ComplianceForm given an JSON stringStringgetComplianceFormTemplate()Template linked to this `compliance_form`.OffsetDateTimegetCreatedAt()Timestamp of when the object was created.OffsetDateTimegetDueAt()Timestamp of when the `compliance_form` must be completed by.ComplianceFormFilesgetFiles()Get filesStringgetId()ID of the `compliance_form`.StringgetLinkedTo()The ID of the `merchant` linked to the `compliance_form`.StringgetLinkedType()The type of resource this `compliance_form` is linked to.ComplianceFormPciSaqAgetPciSaqA()Get pciSaqAComplianceForm.StateEnumgetState()The state of the `compliance_form`.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.ComplianceForm.TypeEnumgetType()Type of `compliance_form`.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.OffsetDateTimegetValidFrom()Timestamp of when the `compliance_form` becomes active and valid.StringgetValidUntil()Timestamp of when the `compliance_form` is no longer active and valid.inthashCode()ComplianceFormid(String id)ComplianceFormlinkedTo(String linkedTo)ComplianceFormlinkedType(String linkedType)ComplianceFormpciSaqA(ComplianceFormPciSaqA pciSaqA)ComplianceFormputTagsItem(String key, String tagsItem)voidsetComplianceFormTemplate(String complianceFormTemplate)voidsetCreatedAt(OffsetDateTime createdAt)voidsetDueAt(OffsetDateTime dueAt)voidsetFiles(ComplianceFormFiles files)voidsetId(String id)voidsetLinkedTo(String linkedTo)voidsetLinkedType(String linkedType)voidsetPciSaqA(ComplianceFormPciSaqA pciSaqA)voidsetState(ComplianceForm.StateEnum state)voidsetTags(Map<String,String> tags)voidsetType(ComplianceForm.TypeEnum type)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetValidFrom(OffsetDateTime validFrom)voidsetValidUntil(String validUntil)ComplianceFormstate(ComplianceForm.StateEnum state)ComplianceFormtags(Map<String,String> tags)StringtoJson()Convert an instance of ComplianceForm to an JSON stringStringtoString()ComplianceFormtype(ComplianceForm.TypeEnum type)ComplianceFormupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundComplianceFormvalidFrom(OffsetDateTime validFrom)ComplianceFormvalidUntil(String validUntil)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DUE_AT
public static final String SERIALIZED_NAME_DUE_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKED_TO
public static final String SERIALIZED_NAME_LINKED_TO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKED_TYPE
public static final String SERIALIZED_NAME_LINKED_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PCI_SAQ_A
public static final String SERIALIZED_NAME_PCI_SAQ_A
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILES
public static final String SERIALIZED_NAME_FILES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALID_FROM
public static final String SERIALIZED_NAME_VALID_FROM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALID_UNTIL
public static final String SERIALIZED_NAME_VALID_UNTIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPLIANCE_FORM_TEMPLATE
public static final String SERIALIZED_NAME_COMPLIANCE_FORM_TEMPLATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ComplianceForm id(String id)
-
setId
public void setId(String id)
-
type
public ComplianceForm type(ComplianceForm.TypeEnum type)
-
getType
@Nullable public ComplianceForm.TypeEnum getType()
Type of `compliance_form`. There is one available value: **PCI_SAQ_A**.- Returns:
- type
-
setType
public void setType(ComplianceForm.TypeEnum type)
-
state
public ComplianceForm state(ComplianceForm.StateEnum state)
-
getState
@Nullable public ComplianceForm.StateEnum getState()
The state of the `compliance_form`.- Returns:
- state
-
setState
public void setState(ComplianceForm.StateEnum state)
-
createdAt
public ComplianceForm createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public ComplianceForm updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
dueAt
public ComplianceForm dueAt(OffsetDateTime dueAt)
-
getDueAt
@Nullable public OffsetDateTime getDueAt()
Timestamp of when the `compliance_form` must be completed by.- Returns:
- dueAt
-
setDueAt
public void setDueAt(OffsetDateTime dueAt)
-
linkedTo
public ComplianceForm linkedTo(String linkedTo)
-
getLinkedTo
@Nullable public String getLinkedTo()
The ID of the `merchant` linked to the `compliance_form`.- Returns:
- linkedTo
-
setLinkedTo
public void setLinkedTo(String linkedTo)
-
linkedType
public ComplianceForm linkedType(String linkedType)
-
getLinkedType
@Nullable public String getLinkedType()
The type of resource this `compliance_form` is linked to.- Returns:
- linkedType
-
setLinkedType
public void setLinkedType(String linkedType)
-
pciSaqA
public ComplianceForm pciSaqA(ComplianceFormPciSaqA pciSaqA)
-
getPciSaqA
@Nullable public ComplianceFormPciSaqA getPciSaqA()
Get pciSaqA- Returns:
- pciSaqA
-
setPciSaqA
public void setPciSaqA(ComplianceFormPciSaqA pciSaqA)
-
files
public ComplianceForm files(ComplianceFormFiles files)
-
getFiles
@Nullable public ComplianceFormFiles getFiles()
Get files- Returns:
- files
-
setFiles
public void setFiles(ComplianceFormFiles files)
-
validFrom
public ComplianceForm validFrom(OffsetDateTime validFrom)
-
getValidFrom
@Nullable public OffsetDateTime getValidFrom()
Timestamp of when the `compliance_form` becomes active and valid.- Returns:
- validFrom
-
setValidFrom
public void setValidFrom(OffsetDateTime validFrom)
-
validUntil
public ComplianceForm validUntil(String validUntil)
-
getValidUntil
@Nullable public String getValidUntil()
Timestamp of when the `compliance_form` is no longer active and valid.- Returns:
- validUntil
-
setValidUntil
public void setValidUntil(String validUntil)
-
complianceFormTemplate
public ComplianceForm complianceFormTemplate(String complianceFormTemplate)
-
getComplianceFormTemplate
@Nullable public String getComplianceFormTemplate()
Template linked to this `compliance_form`.- Returns:
- complianceFormTemplate
-
setComplianceFormTemplate
public void setComplianceFormTemplate(String complianceFormTemplate)
-
tags
public ComplianceForm tags(Map<String,String> tags)
-
putTagsItem
public ComplianceForm putTagsItem(String key, String tagsItem)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ComplianceForm
-
fromJson
public static ComplianceForm fromJson(String jsonString) throws IOException
Create an instance of ComplianceForm given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ComplianceForm
- Throws:
IOException- if the JSON string is invalid with respect to ComplianceForm
-
toJson
public String toJson()
Convert an instance of ComplianceForm to an JSON string- Returns:
- JSON string
-
-