001package com.plivo.api.models.compliancedocument; 002 003import com.plivo.api.models.base.BaseResource; 004 005public class ComplianceDocument extends BaseResource { 006 private String endUserId; 007 private String createdAt; 008 private String documentId; 009 private String documentTypeId; 010 private String alias; 011 private String fileName; 012 013 private static class MetaInformation { 014 private String addressLine1; 015 private String addressLine2; 016 private String city; 017 private String country; 018 private String postalCode; 019 private String lastName; 020 private String firstName; 021 private String dateOfBirth; 022 private String uniqueIdentificationNumber; 023 private String businessName; 024 private String authorizedRepresentativeName; 025 private String nationality; 026 private enum typeOfUtility { 027 water,electricity,gas, propertyRental, others 028 }; 029 private String billId; 030 private String typeOfId; 031 private String placeOfBirth; 032 private String dateOfIssue; 033 private String dateOfExpiration; 034 private String billDate; 035 private String supportEmail; 036 private String supportPhoneNumber; 037 private String useCaseDescription; 038 039 public String getUniqueIdentificationNumber() { 040 return uniqueIdentificationNumber; 041 } 042 043 public String getBusinessName() { 044 return businessName; 045 } 046 047 public String getAuthorizedRepresentativeName() { 048 return authorizedRepresentativeName; 049 } 050 051 public String getNationality() { 052 return nationality; 053 } 054 055 public String getBillId() { 056 return billId; 057 } 058 059 public String getPlaceOfBirth() { 060 return placeOfBirth; 061 } 062 063 public String getDateOfIssue() { 064 return dateOfIssue; 065 } 066 067 public String getDateOfExpiration() { 068 return dateOfExpiration; 069 } 070 071 public String getBillDate() { 072 return billDate; 073 } 074 075 public String getSupportEmail() { 076 return supportEmail; 077 } 078 079 public String getSupportPhoneNumber() { 080 return supportPhoneNumber; 081 } 082 083 public String getUseCaseDescription() { 084 return useCaseDescription; 085 } 086 087 public MetaInformation() { 088 089 } 090 091 public String getLastName() { 092 return lastName; 093 } 094 095 public String getAddressLine1() { 096 return addressLine1; 097 } 098 099 public String getAddressLine2() { 100 return addressLine2; 101 } 102 103 public String getCity() { 104 return city; 105 } 106 107 public String getCountry() { 108 return country; 109 } 110 111 public String getDateOfBirth() { 112 return dateOfBirth; 113 } 114 115 public String getFirstName() { 116 return firstName; 117 } 118 119 public String getPostalCode() { 120 return postalCode; 121 } 122 } 123 124 private MetaInformation metaInformation; 125 126 public static ComplianceDocumentGetter getter(String id) { 127 return new ComplianceDocumentGetter(id); 128 } 129 130 public static ComplianceDocumentCreator creator(String endUserId, String documentTypeId, String alias) { 131 return new ComplianceDocumentCreator(endUserId, documentTypeId, alias); 132 } 133 134 public static ComplianceDocumentUpdater updater(String id) { 135 return new ComplianceDocumentUpdater(id); 136 } 137 138 public static ComplianceDocumentDeleter deleter(String id) { 139 return new ComplianceDocumentDeleter(id); 140 } 141 142 public static ComplianceDocumentLister lister() { 143 return new ComplianceDocumentLister(); 144 } 145 146 @Override 147 public String getId() { 148 return documentId; 149 } 150}