avalara_sdk 25.10.0 → 25.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/docs/A1099/V2/CompaniesW9Api.md +5 -5
- data/docs/A1099/V2/Forms1099Api.md +7 -7
- data/docs/A1099/V2/FormsW9Api.md +91 -8
- data/docs/A1099/V2/Issuers1099Api.md +5 -5
- data/docs/A1099/V2/JobsApi.md +1 -1
- data/docs/A1099/V2/W8BenEFormRequest.md +4 -4
- data/docs/A1099/V2/W8BenFormRequest.md +7 -7
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +138 -1
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/jobs_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +100 -4
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +91 -7
- data/lib/avalara_sdk/version.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
- metadata +2 -2
| @@ -23,13 +23,13 @@ module AvalaraSdk::A1099::V2 | |
| 23 23 | 
             
                # The name of the disregarded entity receiving the payment (if applicable).
         | 
| 24 24 | 
             
                attr_accessor :disregarded_entity
         | 
| 25 25 |  | 
| 26 | 
            -
                #  | 
| 26 | 
            +
                # Represents the entity type for tax forms.  Each value corresponds to a specific entity classification.  - 1: Corporation  - 2: Disregarded entity  - 3: Partnership  - 4: Simple trust  - 5: Grantor trust  - 6: Complex trust  - 7: Estate  - 8: Foreign Government - Controlled Entity  - 9: Central Bank of Issue  - 10: Tax-exempt organization  - 11: Private foundation  - 12: International organization  - 13: Foreign Government - Controlled Integral Part
         | 
| 27 27 | 
             
                attr_accessor :entity_type
         | 
| 28 28 |  | 
| 29 29 | 
             
                # Indicates whether the entity is making a treaty claim.
         | 
| 30 30 | 
             
                attr_accessor :making_treaty_claim
         | 
| 31 31 |  | 
| 32 | 
            -
                #  | 
| 32 | 
            +
                # Represents the FATCA status types for tax forms.  Used for W8-BEN-E forms and FATCA compliance validations.  Values correspond to numeric identifiers used in forms.  - 1: Nonparticipating FFI (including a limited FFI or an FFI related to a Reporting IGA FFI other than a deemed-compliant FFI, participating FFI, or exempt beneficial owner)  - 2: Participating FFI  - 3: Reporting Model 1 FFI  - 4: Reporting Model 2 FFI  - 5: Registered deemed-compliant FFI (other than a reporting Model 1 FFI, sponsored FFI, or nonreporting IGA FFI covered in Part XII)  - 6: Sponsored FFI that has not obtained a GIIN  - 7: Certified deemed-compliant nonregistering local bank  - 8: Certified deemed-compliant FFI with only low-value accounts  - 9: Certified deemed-compliant sponsored, closely held investment vehicle  - 10: Certified deemed-compliant limited life debt investment entity  - 11: Certified deemed-compliant investment advisors and investment managers  - 12: Owner-documented FFI  - 13: Restricted distributor  - 14: Nonreporting IGA FFI  - 15: Foreign government, government of a U.S. possession, or foreign central bank of issue  - 16: International organization  - 17: Exempt retirement plans  - 18: Entity wholly owned by exempt beneficial owners  - 19: Territory financial institution  - 20: Nonfinancial group entity  - 21: Excepted nonfinancial start-up company  - 22: Excepted nonfinancial entity in liquidation or bankruptcy  - 23: 501(c) organization  - 24: Nonprofit organization  - 25: Publicly traded NFFE or NFFE affiliate of a publicly traded corporation  - 26: Excepted territory NFFE  - 27: Active NFFE  - 28: Passive NFFE  - 29: Excepted inter-affiliate FFI  - 30: Direct reporting NFFE  - 31: Sponsored direct reporting NFFE  - 32: Account that is not a financial account
         | 
| 33 33 | 
             
                attr_accessor :fatca_status
         | 
| 34 34 |  | 
| 35 35 | 
             
                # The residential address of the individual or entity.
         | 
| @@ -80,7 +80,7 @@ module AvalaraSdk::A1099::V2 | |
| 80 80 | 
             
                # A reference number for the form.
         | 
| 81 81 | 
             
                attr_accessor :reference_number
         | 
| 82 82 |  | 
| 83 | 
            -
                # The FATCA status of disregarded entity or branch receiving payment.  Available values:  - 1:  | 
| 83 | 
            +
                # The FATCA status of disregarded entity or branch receiving payment.  Available values:  - 1: Branch treated as nonparticipating FFI  - 2: U.S. Branch  - 3: Participating FFI  - 4: Reporting Model 1 FFI  - 5: Reporting Model 2 FFI
         | 
| 84 84 | 
             
                attr_accessor :disregarded_entity_fatca_status
         | 
| 85 85 |  | 
| 86 86 | 
             
                # The address for disregarded entities.
         | 
| @@ -110,7 +110,7 @@ module AvalaraSdk::A1099::V2 | |
| 110 110 | 
             
                # Certifies that the beneficial owner is eligible for treaty benefits and meets any limitation on benefits requirements.
         | 
| 111 111 | 
             
                attr_accessor :benefit_limitation_certification
         | 
| 112 112 |  | 
| 113 | 
            -
                # The benefit limitation for tax treaty claims.  Available values:  - 1: Government  - 2: Tax exempt pension trust or pension fund  - 3: Other tax exempt organization  - 4: Publicly traded corporation  - 5: Subsidiary of a publicly traded corporation  - 6: Company that meets the ownership and base erosion test  - 7: Company that meets the derivative benefits test  - 8: Company with an item of income that meets active trade or business test  - 9: Favorable discretionary determination by the U.S. competent authority received  - 10: Other
         | 
| 113 | 
            +
                # The benefit limitation for tax treaty claims.  Available values:  - 1: Government  - 2: Tax exempt pension trust or pension fund  - 3: Other tax exempt organization  - 4: Publicly traded corporation  - 5: Subsidiary of a publicly traded corporation  - 6: Company that meets the ownership and base erosion test  - 7: Company that meets the derivative benefits test  - 8: Company with an item of income that meets active trade or business test  - 9: Favorable discretionary determination by the U.S. competent authority received  - 10: Other  - 11: No LOB article in treaty
         | 
| 114 114 | 
             
                attr_accessor :benefit_limitation
         | 
| 115 115 |  | 
| 116 116 | 
             
                # Certifies that the beneficial owner claims treaty benefits and meets the qualified resident status for specific U.S. source income.
         | 
| @@ -1126,8 +1126,24 @@ module AvalaraSdk::A1099::V2 | |
| 1126 1126 | 
             
                  return false if @name.nil?
         | 
| 1127 1127 | 
             
                  return false if @citizenship_country.nil?
         | 
| 1128 1128 | 
             
                  return false if @entity_type.nil?
         | 
| 1129 | 
            +
                  entity_type_validator = EnumAttributeValidator.new('String', ["Corporation", "DisregardedEntity", "Partnership", "SimpleTrust", "GrantorTrust", "ComplexTrust", "Estate", "ForeignGovernmentControlledEntity", "CentralBankOfIssue", "TaxExemptOrganization", "PrivateFoundation", "InternationalOrganization", "ForeignGovernmentControlledIntegralPart"])
         | 
| 1130 | 
            +
                  return false unless entity_type_validator.valid?(@entity_type)
         | 
| 1129 1131 | 
             
                  return false if @fatca_status.nil?
         | 
| 1132 | 
            +
                  fatca_status_validator = EnumAttributeValidator.new('String', ["NonparticipatingFFI", "ParticipatingFFI", "ReportingModel1FFI", "ReportingModel2FFI", "RegisteredDeemedCompliantFFI", "SponsoredFFIWithoutGIIN", "CertifiedDeemedCompliantNonregisteringLocalBank", "CertifiedDeemedCompliantFFIWithLowValueAccounts", "CertifiedDeemedCompliantSponsoredCloselyHeldInvestmentVehicle", "CertifiedDeemedCompliantLimitedLifeDebtInvestmentEntity", "CertainInvestmentEntitiesWithoutFinancialAccounts", "OwnerDocumentedFFI", "RestrictedDistributor", "NonreportingIGAFFI", "ForeignGovernmentOrUSPossessionOrForeignCentralBank", "InternationalOrganization", "ExemptRetirementPlans", "EntityWhollyOwnedByExemptBeneficialOwners", "TerritoryFinancialInstitution", "NonfinancialGroupEntity", "ExceptedNonfinancialStartUpCompany", "ExceptedNonfinancialEntityInLiquidationOrBankruptcy", "Organization501c", "NonprofitOrganization", "PubliclyTradedNFFEOrAffiliateOfPubliclyTradedCorporation", "ExceptedTerritoryNFFE", "ActiveNFFE", "PassiveNFFE", "ExceptedInterAffiliateFFI", "DirectReportingNFFE", "SponsoredDirectReportingNFFE", "AccountThatIsNotFinancialAccount"])
         | 
| 1133 | 
            +
                  return false unless fatca_status_validator.valid?(@fatca_status)
         | 
| 1134 | 
            +
                  residence_state_validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY"])
         | 
| 1135 | 
            +
                  return false unless residence_state_validator.valid?(@residence_state)
         | 
| 1130 1136 | 
             
                  return false if @residence_country.nil?
         | 
| 1137 | 
            +
                  mailing_state_validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY"])
         | 
| 1138 | 
            +
                  return false unless mailing_state_validator.valid?(@mailing_state)
         | 
| 1139 | 
            +
                  disregarded_entity_fatca_status_validator = EnumAttributeValidator.new('String', ["BranchTreatedAsNonparticipatingFFI", "USBranch", "ParticipatingFFI", "ReportingModel1FFI", "ReportingModel2FFI"])
         | 
| 1140 | 
            +
                  return false unless disregarded_entity_fatca_status_validator.valid?(@disregarded_entity_fatca_status)
         | 
| 1141 | 
            +
                  disregarded_state_validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY"])
         | 
| 1142 | 
            +
                  return false unless disregarded_state_validator.valid?(@disregarded_state)
         | 
| 1143 | 
            +
                  benefit_limitation_validator = EnumAttributeValidator.new('String', ["Government", "TaxExemptPensionTrustOrPensionFund", "OtherTaxExemptOrganization", "PubliclyTradedCorporation", "SubsidiaryOfPubliclyTradedCorporation", "CompanyThatMeetsOwnershipAndBaseErosionTest", "CompanyThatMeetsDerivativeBenefitsTest", "CompanyWithItemOfIncomeThatMeetsActiveTradeOrBusinessTest", "FavorableDiscretionaryDeterminationByUSCompetentAuthorityReceived", "Other", "NoLOBArticleInTreaty"])
         | 
| 1144 | 
            +
                  return false unless benefit_limitation_validator.valid?(@benefit_limitation)
         | 
| 1145 | 
            +
                  iga_model_validator = EnumAttributeValidator.new('String', ["Model1IGA", "Model2IGA"])
         | 
| 1146 | 
            +
                  return false unless iga_model_validator.valid?(@iga_model)
         | 
| 1131 1147 | 
             
                  true
         | 
| 1132 1148 | 
             
                end
         | 
| 1133 1149 |  | 
| @@ -1141,6 +1157,86 @@ module AvalaraSdk::A1099::V2 | |
| 1141 1157 | 
             
                  @type = type
         | 
| 1142 1158 | 
             
                end
         | 
| 1143 1159 |  | 
| 1160 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1161 | 
            +
                # @param [Object] entity_type Object to be assigned
         | 
| 1162 | 
            +
                def entity_type=(entity_type)
         | 
| 1163 | 
            +
                  validator = EnumAttributeValidator.new('String', ["Corporation", "DisregardedEntity", "Partnership", "SimpleTrust", "GrantorTrust", "ComplexTrust", "Estate", "ForeignGovernmentControlledEntity", "CentralBankOfIssue", "TaxExemptOrganization", "PrivateFoundation", "InternationalOrganization", "ForeignGovernmentControlledIntegralPart"])
         | 
| 1164 | 
            +
                  unless validator.valid?(entity_type)
         | 
| 1165 | 
            +
                    fail ArgumentError, "invalid value for \"entity_type\", must be one of #{validator.allowable_values}."
         | 
| 1166 | 
            +
                  end
         | 
| 1167 | 
            +
                  @entity_type = entity_type
         | 
| 1168 | 
            +
                end
         | 
| 1169 | 
            +
             | 
| 1170 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1171 | 
            +
                # @param [Object] fatca_status Object to be assigned
         | 
| 1172 | 
            +
                def fatca_status=(fatca_status)
         | 
| 1173 | 
            +
                  validator = EnumAttributeValidator.new('String', ["NonparticipatingFFI", "ParticipatingFFI", "ReportingModel1FFI", "ReportingModel2FFI", "RegisteredDeemedCompliantFFI", "SponsoredFFIWithoutGIIN", "CertifiedDeemedCompliantNonregisteringLocalBank", "CertifiedDeemedCompliantFFIWithLowValueAccounts", "CertifiedDeemedCompliantSponsoredCloselyHeldInvestmentVehicle", "CertifiedDeemedCompliantLimitedLifeDebtInvestmentEntity", "CertainInvestmentEntitiesWithoutFinancialAccounts", "OwnerDocumentedFFI", "RestrictedDistributor", "NonreportingIGAFFI", "ForeignGovernmentOrUSPossessionOrForeignCentralBank", "InternationalOrganization", "ExemptRetirementPlans", "EntityWhollyOwnedByExemptBeneficialOwners", "TerritoryFinancialInstitution", "NonfinancialGroupEntity", "ExceptedNonfinancialStartUpCompany", "ExceptedNonfinancialEntityInLiquidationOrBankruptcy", "Organization501c", "NonprofitOrganization", "PubliclyTradedNFFEOrAffiliateOfPubliclyTradedCorporation", "ExceptedTerritoryNFFE", "ActiveNFFE", "PassiveNFFE", "ExceptedInterAffiliateFFI", "DirectReportingNFFE", "SponsoredDirectReportingNFFE", "AccountThatIsNotFinancialAccount"])
         | 
| 1174 | 
            +
                  unless validator.valid?(fatca_status)
         | 
| 1175 | 
            +
                    fail ArgumentError, "invalid value for \"fatca_status\", must be one of #{validator.allowable_values}."
         | 
| 1176 | 
            +
                  end
         | 
| 1177 | 
            +
                  @fatca_status = fatca_status
         | 
| 1178 | 
            +
                end
         | 
| 1179 | 
            +
             | 
| 1180 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1181 | 
            +
                # @param [Object] residence_state Object to be assigned
         | 
| 1182 | 
            +
                def residence_state=(residence_state)
         | 
| 1183 | 
            +
                  validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY"])
         | 
| 1184 | 
            +
                  unless validator.valid?(residence_state)
         | 
| 1185 | 
            +
                    fail ArgumentError, "invalid value for \"residence_state\", must be one of #{validator.allowable_values}."
         | 
| 1186 | 
            +
                  end
         | 
| 1187 | 
            +
                  @residence_state = residence_state
         | 
| 1188 | 
            +
                end
         | 
| 1189 | 
            +
             | 
| 1190 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1191 | 
            +
                # @param [Object] mailing_state Object to be assigned
         | 
| 1192 | 
            +
                def mailing_state=(mailing_state)
         | 
| 1193 | 
            +
                  validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY"])
         | 
| 1194 | 
            +
                  unless validator.valid?(mailing_state)
         | 
| 1195 | 
            +
                    fail ArgumentError, "invalid value for \"mailing_state\", must be one of #{validator.allowable_values}."
         | 
| 1196 | 
            +
                  end
         | 
| 1197 | 
            +
                  @mailing_state = mailing_state
         | 
| 1198 | 
            +
                end
         | 
| 1199 | 
            +
             | 
| 1200 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1201 | 
            +
                # @param [Object] disregarded_entity_fatca_status Object to be assigned
         | 
| 1202 | 
            +
                def disregarded_entity_fatca_status=(disregarded_entity_fatca_status)
         | 
| 1203 | 
            +
                  validator = EnumAttributeValidator.new('String', ["BranchTreatedAsNonparticipatingFFI", "USBranch", "ParticipatingFFI", "ReportingModel1FFI", "ReportingModel2FFI"])
         | 
| 1204 | 
            +
                  unless validator.valid?(disregarded_entity_fatca_status)
         | 
| 1205 | 
            +
                    fail ArgumentError, "invalid value for \"disregarded_entity_fatca_status\", must be one of #{validator.allowable_values}."
         | 
| 1206 | 
            +
                  end
         | 
| 1207 | 
            +
                  @disregarded_entity_fatca_status = disregarded_entity_fatca_status
         | 
| 1208 | 
            +
                end
         | 
| 1209 | 
            +
             | 
| 1210 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1211 | 
            +
                # @param [Object] disregarded_state Object to be assigned
         | 
| 1212 | 
            +
                def disregarded_state=(disregarded_state)
         | 
| 1213 | 
            +
                  validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY"])
         | 
| 1214 | 
            +
                  unless validator.valid?(disregarded_state)
         | 
| 1215 | 
            +
                    fail ArgumentError, "invalid value for \"disregarded_state\", must be one of #{validator.allowable_values}."
         | 
| 1216 | 
            +
                  end
         | 
| 1217 | 
            +
                  @disregarded_state = disregarded_state
         | 
| 1218 | 
            +
                end
         | 
| 1219 | 
            +
             | 
| 1220 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1221 | 
            +
                # @param [Object] benefit_limitation Object to be assigned
         | 
| 1222 | 
            +
                def benefit_limitation=(benefit_limitation)
         | 
| 1223 | 
            +
                  validator = EnumAttributeValidator.new('String', ["Government", "TaxExemptPensionTrustOrPensionFund", "OtherTaxExemptOrganization", "PubliclyTradedCorporation", "SubsidiaryOfPubliclyTradedCorporation", "CompanyThatMeetsOwnershipAndBaseErosionTest", "CompanyThatMeetsDerivativeBenefitsTest", "CompanyWithItemOfIncomeThatMeetsActiveTradeOrBusinessTest", "FavorableDiscretionaryDeterminationByUSCompetentAuthorityReceived", "Other", "NoLOBArticleInTreaty"])
         | 
| 1224 | 
            +
                  unless validator.valid?(benefit_limitation)
         | 
| 1225 | 
            +
                    fail ArgumentError, "invalid value for \"benefit_limitation\", must be one of #{validator.allowable_values}."
         | 
| 1226 | 
            +
                  end
         | 
| 1227 | 
            +
                  @benefit_limitation = benefit_limitation
         | 
| 1228 | 
            +
                end
         | 
| 1229 | 
            +
             | 
| 1230 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 1231 | 
            +
                # @param [Object] iga_model Object to be assigned
         | 
| 1232 | 
            +
                def iga_model=(iga_model)
         | 
| 1233 | 
            +
                  validator = EnumAttributeValidator.new('String', ["Model1IGA", "Model2IGA"])
         | 
| 1234 | 
            +
                  unless validator.valid?(iga_model)
         | 
| 1235 | 
            +
                    fail ArgumentError, "invalid value for \"iga_model\", must be one of #{validator.allowable_values}."
         | 
| 1236 | 
            +
                  end
         | 
| 1237 | 
            +
                  @iga_model = iga_model
         | 
| 1238 | 
            +
                end
         | 
| 1239 | 
            +
             | 
| 1144 1240 | 
             
                # Checks equality by comparing each attribute.
         | 
| 1145 1241 | 
             
                # @param [Object] Object to be compared
         | 
| 1146 1242 | 
             
                def ==(o)
         | 
| @@ -17,7 +17,7 @@ module AvalaraSdk::A1099::V2 | |
| 17 17 | 
             
                # The name of the individual or entity associated with the form.
         | 
| 18 18 | 
             
                attr_accessor :name
         | 
| 19 19 |  | 
| 20 | 
            -
                # The country of citizenship | 
| 20 | 
            +
                # The country of citizenship.. Allowed values: US, AF, AX, AL, AG, AQ, AN, AO, AV, AY (and 248 more)
         | 
| 21 21 | 
             
                attr_accessor :citizenship_country
         | 
| 22 22 |  | 
| 23 23 | 
             
                # The residential address of the individual or entity.
         | 
| @@ -26,13 +26,13 @@ module AvalaraSdk::A1099::V2 | |
| 26 26 | 
             
                # The city of residence.
         | 
| 27 27 | 
             
                attr_accessor :residence_city
         | 
| 28 28 |  | 
| 29 | 
            -
                # The state of residence.
         | 
| 29 | 
            +
                # The state of residence. Required for US and Canada.. Allowed values: AA, AE, AK, AL, AP, AR, AS, AZ, CA, CO (and 65 more)
         | 
| 30 30 | 
             
                attr_accessor :residence_state
         | 
| 31 31 |  | 
| 32 32 | 
             
                # The ZIP code of the residence.
         | 
| 33 33 | 
             
                attr_accessor :residence_zip
         | 
| 34 34 |  | 
| 35 | 
            -
                # The country of residence | 
| 35 | 
            +
                # The country of residence.. Allowed values: US, AF, AX, AL, AG, AQ, AN, AO, AV, AY (and 248 more)
         | 
| 36 36 | 
             
                attr_accessor :residence_country
         | 
| 37 37 |  | 
| 38 38 | 
             
                # Indicates whether the residence address is the mailing address.
         | 
| @@ -44,13 +44,13 @@ module AvalaraSdk::A1099::V2 | |
| 44 44 | 
             
                # The city of the mailing address.
         | 
| 45 45 | 
             
                attr_accessor :mailing_city
         | 
| 46 46 |  | 
| 47 | 
            -
                # The state of the mailing address.
         | 
| 47 | 
            +
                # The state of the mailing address. Required for US and Canada.. Allowed values: AA, AE, AK, AL, AP, AR, AS, AZ, CA, CO (and 65 more)
         | 
| 48 48 | 
             
                attr_accessor :mailing_state
         | 
| 49 49 |  | 
| 50 50 | 
             
                # The ZIP code of the mailing address.
         | 
| 51 51 | 
             
                attr_accessor :mailing_zip
         | 
| 52 52 |  | 
| 53 | 
            -
                # The country of the mailing address | 
| 53 | 
            +
                # The country of the mailing address.. Allowed values: US, AF, AX, AL, AG, AQ, AN, AO, AV, AY (and 248 more)
         | 
| 54 54 | 
             
                attr_accessor :mailing_country
         | 
| 55 55 |  | 
| 56 56 | 
             
                # The taxpayer identification number (TIN).
         | 
| @@ -68,7 +68,7 @@ module AvalaraSdk::A1099::V2 | |
| 68 68 | 
             
                # The birthday of the individual associated with the form.
         | 
| 69 69 | 
             
                attr_accessor :birthday
         | 
| 70 70 |  | 
| 71 | 
            -
                # The country for which the treaty applies | 
| 71 | 
            +
                # The country for which the treaty applies.. Allowed values: US, AF, AX, AL, AG, AQ, AN, AO, AV, AY (and 248 more)
         | 
| 72 72 | 
             
                attr_accessor :treaty_country
         | 
| 73 73 |  | 
| 74 74 | 
             
                # The specific article of the treaty being claimed.
         | 
| @@ -77,7 +77,7 @@ module AvalaraSdk::A1099::V2 | |
| 77 77 | 
             
                # The reasons for claiming treaty benefits.
         | 
| 78 78 | 
             
                attr_accessor :treaty_reasons
         | 
| 79 79 |  | 
| 80 | 
            -
                # The withholding rate applied as per the treaty.
         | 
| 80 | 
            +
                # The withholding rate applied as per the treaty. Must be a percentage with up to two decimals (e.g., 12.50, 0).. Allowed values: 0, 0.0, 0.00, 5, 5.5, 10, 12.50, 15, 20, 25 (and 1 more)
         | 
| 81 81 | 
             
                attr_accessor :withholding_rate
         | 
| 82 82 |  | 
| 83 83 | 
             
                # The type of income covered by the treaty.
         | 
| @@ -404,7 +404,21 @@ module AvalaraSdk::A1099::V2 | |
| 404 404 | 
             
                  return false unless type_validator.valid?(@type)
         | 
| 405 405 | 
             
                  return false if @name.nil?
         | 
| 406 406 | 
             
                  return false if @citizenship_country.nil?
         | 
| 407 | 
            +
                  citizenship_country_validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 408 | 
            +
                  return false unless citizenship_country_validator.valid?(@citizenship_country)
         | 
| 409 | 
            +
                  residence_state_validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AB", "BC", "MB", "NB", "NL", "NS", "NT", "NU", "ON", "PE", "QC", "SK", "YT"])
         | 
| 410 | 
            +
                  return false unless residence_state_validator.valid?(@residence_state)
         | 
| 407 411 | 
             
                  return false if @residence_country.nil?
         | 
| 412 | 
            +
                  residence_country_validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 413 | 
            +
                  return false unless residence_country_validator.valid?(@residence_country)
         | 
| 414 | 
            +
                  mailing_state_validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AB", "BC", "MB", "NB", "NL", "NS", "NT", "NU", "ON", "PE", "QC", "SK", "YT"])
         | 
| 415 | 
            +
                  return false unless mailing_state_validator.valid?(@mailing_state)
         | 
| 416 | 
            +
                  mailing_country_validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 417 | 
            +
                  return false unless mailing_country_validator.valid?(@mailing_country)
         | 
| 418 | 
            +
                  treaty_country_validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 419 | 
            +
                  return false unless treaty_country_validator.valid?(@treaty_country)
         | 
| 420 | 
            +
                  withholding_rate_validator = EnumAttributeValidator.new('String', ["0", "0.0", "0.00", "5", "5.5", "10", "12.50", "15", "20", "25", "30"])
         | 
| 421 | 
            +
                  return false unless withholding_rate_validator.valid?(@withholding_rate)
         | 
| 408 422 | 
             
                  true
         | 
| 409 423 | 
             
                end
         | 
| 410 424 |  | 
| @@ -418,6 +432,76 @@ module AvalaraSdk::A1099::V2 | |
| 418 432 | 
             
                  @type = type
         | 
| 419 433 | 
             
                end
         | 
| 420 434 |  | 
| 435 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 436 | 
            +
                # @param [Object] citizenship_country Object to be assigned
         | 
| 437 | 
            +
                def citizenship_country=(citizenship_country)
         | 
| 438 | 
            +
                  validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 439 | 
            +
                  unless validator.valid?(citizenship_country)
         | 
| 440 | 
            +
                    fail ArgumentError, "invalid value for \"citizenship_country\", must be one of #{validator.allowable_values}."
         | 
| 441 | 
            +
                  end
         | 
| 442 | 
            +
                  @citizenship_country = citizenship_country
         | 
| 443 | 
            +
                end
         | 
| 444 | 
            +
             | 
| 445 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 446 | 
            +
                # @param [Object] residence_state Object to be assigned
         | 
| 447 | 
            +
                def residence_state=(residence_state)
         | 
| 448 | 
            +
                  validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AB", "BC", "MB", "NB", "NL", "NS", "NT", "NU", "ON", "PE", "QC", "SK", "YT"])
         | 
| 449 | 
            +
                  unless validator.valid?(residence_state)
         | 
| 450 | 
            +
                    fail ArgumentError, "invalid value for \"residence_state\", must be one of #{validator.allowable_values}."
         | 
| 451 | 
            +
                  end
         | 
| 452 | 
            +
                  @residence_state = residence_state
         | 
| 453 | 
            +
                end
         | 
| 454 | 
            +
             | 
| 455 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 456 | 
            +
                # @param [Object] residence_country Object to be assigned
         | 
| 457 | 
            +
                def residence_country=(residence_country)
         | 
| 458 | 
            +
                  validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 459 | 
            +
                  unless validator.valid?(residence_country)
         | 
| 460 | 
            +
                    fail ArgumentError, "invalid value for \"residence_country\", must be one of #{validator.allowable_values}."
         | 
| 461 | 
            +
                  end
         | 
| 462 | 
            +
                  @residence_country = residence_country
         | 
| 463 | 
            +
                end
         | 
| 464 | 
            +
             | 
| 465 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 466 | 
            +
                # @param [Object] mailing_state Object to be assigned
         | 
| 467 | 
            +
                def mailing_state=(mailing_state)
         | 
| 468 | 
            +
                  validator = EnumAttributeValidator.new('String', ["AA", "AE", "AK", "AL", "AP", "AR", "AS", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "FM", "GA", "GU", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MH", "MI", "MN", "MO", "MP", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "PR", "PW", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VI", "VT", "WA", "WI", "WV", "WY", "AB", "BC", "MB", "NB", "NL", "NS", "NT", "NU", "ON", "PE", "QC", "SK", "YT"])
         | 
| 469 | 
            +
                  unless validator.valid?(mailing_state)
         | 
| 470 | 
            +
                    fail ArgumentError, "invalid value for \"mailing_state\", must be one of #{validator.allowable_values}."
         | 
| 471 | 
            +
                  end
         | 
| 472 | 
            +
                  @mailing_state = mailing_state
         | 
| 473 | 
            +
                end
         | 
| 474 | 
            +
             | 
| 475 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 476 | 
            +
                # @param [Object] mailing_country Object to be assigned
         | 
| 477 | 
            +
                def mailing_country=(mailing_country)
         | 
| 478 | 
            +
                  validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 479 | 
            +
                  unless validator.valid?(mailing_country)
         | 
| 480 | 
            +
                    fail ArgumentError, "invalid value for \"mailing_country\", must be one of #{validator.allowable_values}."
         | 
| 481 | 
            +
                  end
         | 
| 482 | 
            +
                  @mailing_country = mailing_country
         | 
| 483 | 
            +
                end
         | 
| 484 | 
            +
             | 
| 485 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 486 | 
            +
                # @param [Object] treaty_country Object to be assigned
         | 
| 487 | 
            +
                def treaty_country=(treaty_country)
         | 
| 488 | 
            +
                  validator = EnumAttributeValidator.new('String', ["US", "AF", "AX", "AL", "AG", "AQ", "AN", "AO", "AV", "AY", "AC", "AR", "AM", "AA", "AT", "AS", "AU", "AJ", "BF", "BA", "FQ", "BG", "BB", "BO", "BE", "BH", "BN", "BD", "BT", "BL", "BK", "BC", "BV", "BR", "IO", "VI", "BX", "BU", "UV", "BM", "BY", "CB", "CM", "CA", "CV", "CJ", "CT", "CD", "CI", "CH", "KT", "IP", "CK", "CO", "CN", "CF", "CG", "CW", "CR", "CS", "IV", "HR", "CU", "UC", "CY", "EZ", "DA", "DX", "DJ", "DO", "DR", "TT", "EC", "EG", "ES", "EK", "ER", "EN", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "FP", "FS", "GB", "GA", "GG", "GM", "GH", "GI", "GR", "GL", "GJ", "GQ", "GT", "GK", "GV", "PU", "GY", "HA", "HM", "VT", "HO", "HK", "HQ", "HU", "IC", "IN", "ID", "IR", "IZ", "EI", "IS", "IT", "JM", "JN", "JA", "DQ", "JE", "JQ", "JO", "KZ", "KE", "KQ", "KR", "KN", "KS", "KV", "KU", "KG", "LA", "LG", "LE", "LT", "LI", "LY", "LS", "LH", "LU", "MC", "MK", "MA", "MI", "MY", "MV", "ML", "MT", "IM", "RM", "MR", "MP", "MX", "MQ", "MD", "MN", "MG", "MJ", "MH", "MO", "MZ", "WA", "NR", "BQ", "NP", "NL", "NC", "NZ", "NU", "NG", "NI", "NE", "NF", "CQ", "NO", "MU", "OC", "PK", "PS", "LQ", "PM", "PP", "PF", "PA", "PE", "RP", "PC", "PL", "PO", "RQ", "QA", "RO", "RS", "RW", "TB", "RN", "WS", "SM", "TP", "SA", "SG", "RI", "SE", "SL", "SN", "NN", "LO", "SI", "BP", "SO", "SF", "SX", "SP", "PG", "CE", "SH", "SC", "ST", "SB", "VC", "SU", "NS", "SV", "WZ", "SW", "SZ", "SY", "TW", "TI", "TZ", "TH", "TO", "TL", "TN", "TD", "TS", "TU", "TX", "TK", "TV", "UG", "UP", "AE", "UK", "UY", "UZ", "NH", "VE", "VM", "VQ", "WQ", "WF", "WI", "YM", "ZA", "ZI"])
         | 
| 489 | 
            +
                  unless validator.valid?(treaty_country)
         | 
| 490 | 
            +
                    fail ArgumentError, "invalid value for \"treaty_country\", must be one of #{validator.allowable_values}."
         | 
| 491 | 
            +
                  end
         | 
| 492 | 
            +
                  @treaty_country = treaty_country
         | 
| 493 | 
            +
                end
         | 
| 494 | 
            +
             | 
| 495 | 
            +
                # Custom attribute writer method checking allowed values (enum).
         | 
| 496 | 
            +
                # @param [Object] withholding_rate Object to be assigned
         | 
| 497 | 
            +
                def withholding_rate=(withholding_rate)
         | 
| 498 | 
            +
                  validator = EnumAttributeValidator.new('String', ["0", "0.0", "0.00", "5", "5.5", "10", "12.50", "15", "20", "25", "30"])
         | 
| 499 | 
            +
                  unless validator.valid?(withholding_rate)
         | 
| 500 | 
            +
                    fail ArgumentError, "invalid value for \"withholding_rate\", must be one of #{validator.allowable_values}."
         | 
| 501 | 
            +
                  end
         | 
| 502 | 
            +
                  @withholding_rate = withholding_rate
         | 
| 503 | 
            +
                end
         | 
| 504 | 
            +
             | 
| 421 505 | 
             
                # Checks equality by comparing each attribute.
         | 
| 422 506 | 
             
                # @param [Object] Object to be compared
         | 
| 423 507 | 
             
                def ==(o)
         | 
    
        data/lib/avalara_sdk/version.rb
    CHANGED
    
    
| @@ -3,10 +3,10 @@ current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bu | |
| 3 3 | 
             
            creating Makefile
         | 
| 4 4 |  | 
| 5 5 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
         | 
| 6 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 6 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-6eq9k8 sitelibdir\=./.gem.20251022-2081-6eq9k8 clean
         | 
| 7 7 |  | 
| 8 8 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
         | 
| 9 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 9 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-6eq9k8 sitelibdir\=./.gem.20251022-2081-6eq9k8
         | 
| 10 10 | 
             
            compiling breakpoint.c
         | 
| 11 11 | 
             
            compiling byebug.c
         | 
| 12 12 | 
             
            byebug.c: In function ‘check_started’:
         | 
| @@ -35,8 +35,8 @@ compiling threads.c | |
| 35 35 | 
             
            linking shared-object byebug/byebug.so
         | 
| 36 36 |  | 
| 37 37 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
         | 
| 38 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 39 | 
            -
            /usr/bin/install -c -m 0755 byebug.so ./.gem. | 
| 38 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-6eq9k8 sitelibdir\=./.gem.20251022-2081-6eq9k8 install
         | 
| 39 | 
            +
            /usr/bin/install -c -m 0755 byebug.so ./.gem.20251022-2081-6eq9k8/byebug
         | 
| 40 40 |  | 
| 41 41 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug
         | 
| 42 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 42 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-6eq9k8 sitelibdir\=./.gem.20251022-2081-6eq9k8 clean
         | 
| @@ -6,10 +6,10 @@ checking for altzone in time.h with  -Werror... no | |
| 6 6 | 
             
            creating Makefile
         | 
| 7 7 |  | 
| 8 8 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
         | 
| 9 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 9 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-r8kzu5 sitelibdir\=./.gem.20251022-2081-r8kzu5 clean
         | 
| 10 10 |  | 
| 11 11 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
         | 
| 12 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 12 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-r8kzu5 sitelibdir\=./.gem.20251022-2081-r8kzu5
         | 
| 13 13 | 
             
            compiling date_core.c
         | 
| 14 14 | 
             
            compiling date_parse.c
         | 
| 15 15 | 
             
            compiling date_strftime.c
         | 
| @@ -17,8 +17,8 @@ compiling date_strptime.c | |
| 17 17 | 
             
            linking shared-object date_core.so
         | 
| 18 18 |  | 
| 19 19 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
         | 
| 20 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 21 | 
            -
            /usr/bin/install -c -m 0755 date_core.so ./.gem. | 
| 20 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-r8kzu5 sitelibdir\=./.gem.20251022-2081-r8kzu5 install
         | 
| 21 | 
            +
            /usr/bin/install -c -m 0755 date_core.so ./.gem.20251022-2081-r8kzu5
         | 
| 22 22 |  | 
| 23 23 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date
         | 
| 24 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 24 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-r8kzu5 sitelibdir\=./.gem.20251022-2081-r8kzu5 clean
         | 
| @@ -12,10 +12,10 @@ checking for version.h... yes | |
| 12 12 | 
             
            creating Makefile
         | 
| 13 13 |  | 
| 14 14 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach
         | 
| 15 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 15 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2477-1dgp4a sitelibdir\=./.gem.20251022-2477-1dgp4a clean
         | 
| 16 16 |  | 
| 17 17 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach
         | 
| 18 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 18 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2477-1dgp4a sitelibdir\=./.gem.20251022-2477-1dgp4a
         | 
| 19 19 | 
             
            compiling attach.c
         | 
| 20 20 | 
             
            attach.c: In function ‘__func_to_set_breakpoint_at’:
         | 
| 21 21 | 
             
            attach.c:19:1: warning: old-style function definition [-Wold-style-definition]
         | 
| @@ -36,8 +36,8 @@ cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ | |
| 36 36 | 
             
            linking shared-object attach.so
         | 
| 37 37 |  | 
| 38 38 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach
         | 
| 39 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 40 | 
            -
            /usr/bin/install -c -m 0755 attach.so ./.gem. | 
| 39 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2477-1dgp4a sitelibdir\=./.gem.20251022-2477-1dgp4a install
         | 
| 40 | 
            +
            /usr/bin/install -c -m 0755 attach.so ./.gem.20251022-2477-1dgp4a
         | 
| 41 41 |  | 
| 42 42 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach
         | 
| 43 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 43 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2477-1dgp4a sitelibdir\=./.gem.20251022-2477-1dgp4a clean
         | 
| @@ -3,17 +3,17 @@ current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bu | |
| 3 3 | 
             
            creating Makefile
         | 
| 4 4 |  | 
| 5 5 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug
         | 
| 6 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 6 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-1y35d2 sitelibdir\=./.gem.20251022-2081-1y35d2 clean
         | 
| 7 7 |  | 
| 8 8 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug
         | 
| 9 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 9 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-1y35d2 sitelibdir\=./.gem.20251022-2081-1y35d2
         | 
| 10 10 | 
             
            compiling debug.c
         | 
| 11 11 | 
             
            compiling iseq_collector.c
         | 
| 12 12 | 
             
            linking shared-object debug/debug.so
         | 
| 13 13 |  | 
| 14 14 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug
         | 
| 15 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 16 | 
            -
            /usr/bin/install -c -m 0755 debug.so ./.gem. | 
| 15 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-1y35d2 sitelibdir\=./.gem.20251022-2081-1y35d2 install
         | 
| 16 | 
            +
            /usr/bin/install -c -m 0755 debug.so ./.gem.20251022-2081-1y35d2/debug
         | 
| 17 17 |  | 
| 18 18 | 
             
            current directory: /home/runner/work/Avalara-SDK-Ruby/Avalara-SDK-Ruby/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug
         | 
| 19 | 
            -
            make DESTDIR\= sitearchdir\=./.gem. | 
| 19 | 
            +
            make DESTDIR\= sitearchdir\=./.gem.20251022-2081-1y35d2 sitelibdir\=./.gem.20251022-2081-1y35d2 clean
         |