Class: AvalaraSdk::A1099::V2::W4FormDataModel

Inherits:
Object
  • Object
show all
Defined in:
lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb

Overview

W-4 Form

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ W4FormDataModel

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 1197

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::W4FormDataModel` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::W4FormDataModel`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'type')
    self.type = attributes[:'type']
  end

  if attributes.key?(:'signed_date')
    self.signed_date = attributes[:'signed_date']
  end

  if attributes.key?(:'created_at')
    self.created_at = attributes[:'created_at']
  end

  if attributes.key?(:'employee_first_name')
    self.employee_first_name = attributes[:'employee_first_name']
  end

  if attributes.key?(:'employee_middle_name')
    self.employee_middle_name = attributes[:'employee_middle_name']
  end

  if attributes.key?(:'employee_last_name')
    self.employee_last_name = attributes[:'employee_last_name']
  end

  if attributes.key?(:'employee_name_suffix')
    self.employee_name_suffix = attributes[:'employee_name_suffix']
  end

  if attributes.key?(:'address')
    self.address = attributes[:'address']
  end

  if attributes.key?(:'city')
    self.city = attributes[:'city']
  end

  if attributes.key?(:'state')
    self.state = attributes[:'state']
  end

  if attributes.key?(:'zip')
    self.zip = attributes[:'zip']
  end

  if attributes.key?(:'type_of_tin')
    self.type_of_tin = attributes[:'type_of_tin']
  end

  if attributes.key?(:'tin')
    self.tin = attributes[:'tin']
  end

  if attributes.key?(:'box3_marital_status')
    self.box3_marital_status = attributes[:'box3_marital_status']
  end

  if attributes.key?(:'box4_last_name_differs')
    self.box4_last_name_differs = attributes[:'box4_last_name_differs']
  end

  if attributes.key?(:'box5_num_allowances')
    self.box5_num_allowances = attributes[:'box5_num_allowances']
  end

  if attributes.key?(:'other_dependents')
    self.other_dependents = attributes[:'other_dependents']
  end

  if attributes.key?(:'non_job_income')
    self.non_job_income = attributes[:'non_job_income']
  end

  if attributes.key?(:'deductions')
    self.deductions = attributes[:'deductions']
  end

  if attributes.key?(:'box6_additional_withheld')
    self.box6_additional_withheld = attributes[:'box6_additional_withheld']
  end

  if attributes.key?(:'box7_exempt_from_withholding')
    self.box7_exempt_from_withholding = attributes[:'box7_exempt_from_withholding']
  end

  if attributes.key?(:'office_code')
    self.office_code = attributes[:'office_code']
  end

  if attributes.key?(:'e_delivery_consented_at')
    self.e_delivery_consented_at = attributes[:'e_delivery_consented_at']
  end

  if attributes.key?(:'disregarded_entity_chapter4_fatca_status')
    self.disregarded_entity_chapter4_fatca_status = attributes[:'disregarded_entity_chapter4_fatca_status']
  end

  if attributes.key?(:'name')
    self.name = attributes[:'name']
  end

  if attributes.key?(:'residence_address')
    self.residence_address = attributes[:'residence_address']
  end

  if attributes.key?(:'residence_city')
    self.residence_city = attributes[:'residence_city']
  end

  if attributes.key?(:'residence_state')
    self.residence_state = attributes[:'residence_state']
  end

  if attributes.key?(:'residence_postal_code')
    self.residence_postal_code = attributes[:'residence_postal_code']
  end

  if attributes.key?(:'residence_country')
    self.residence_country = attributes[:'residence_country']
  end

  if attributes.key?(:'mailing_address')
    self.mailing_address = attributes[:'mailing_address']
  end

  if attributes.key?(:'mailing_city')
    self.mailing_city = attributes[:'mailing_city']
  end

  if attributes.key?(:'mailing_state')
    self.mailing_state = attributes[:'mailing_state']
  end

  if attributes.key?(:'mailing_postal_code')
    self.mailing_postal_code = attributes[:'mailing_postal_code']
  end

  if attributes.key?(:'mailing_country')
    self.mailing_country = attributes[:'mailing_country']
  end

  if attributes.key?(:'disregarded_address')
    self.disregarded_address = attributes[:'disregarded_address']
  end

  if attributes.key?(:'disregarded_city')
    self.disregarded_city = attributes[:'disregarded_city']
  end

  if attributes.key?(:'disregarded_state')
    self.disregarded_state = attributes[:'disregarded_state']
  end

  if attributes.key?(:'disregarded_postal_code')
    self.disregarded_postal_code = attributes[:'disregarded_postal_code']
  end

  if attributes.key?(:'disregarded_country')
    self.disregarded_country = attributes[:'disregarded_country']
  end

  if attributes.key?(:'foreign_tin')
    self.foreign_tin = attributes[:'foreign_tin']
  end

  if attributes.key?(:'ftin_not_required')
    self.ftin_not_required = attributes[:'ftin_not_required']
  end

  if attributes.key?(:'reference_number')
    self.reference_number = attributes[:'reference_number']
  end

  if attributes.key?(:'giin')
    self.giin = attributes[:'giin']
  end

  if attributes.key?(:'chapter3_entity_type')
    self.chapter3_entity_type = attributes[:'chapter3_entity_type']
  end

  if attributes.key?(:'chapter4_fatca_status')
    self.chapter4_fatca_status = attributes[:'chapter4_fatca_status']
  end

  if attributes.key?(:'disregarded_entity')
    self.disregarded_entity = attributes[:'disregarded_entity']
  end

  if attributes.key?(:'disregarded_entity_giin')
    self.disregarded_entity_giin = attributes[:'disregarded_entity_giin']
  end

  if attributes.key?(:'benefit_limitation')
    self.benefit_limitation = attributes[:'benefit_limitation']
  end

  if attributes.key?(:'part4_sponsoring_entity')
    self.part4_sponsoring_entity = attributes[:'part4_sponsoring_entity']
  end

  if attributes.key?(:'part4_sponsoring_entity_giin')
    self.part4_sponsoring_entity_giin = attributes[:'part4_sponsoring_entity_giin']
  end

  if attributes.key?(:'part7_sponsoring_entity')
    self.part7_sponsoring_entity = attributes[:'part7_sponsoring_entity']
  end

  if attributes.key?(:'part12_iga_country')
    self.part12_iga_country = attributes[:'part12_iga_country']
  end

  if attributes.key?(:'part12_iga_type')
    self.part12_iga_type = attributes[:'part12_iga_type']
  end

  if attributes.key?(:'part12_fatca_status_under_iga_annex_ii')
    self.part12_fatca_status_under_iga_annex_ii = attributes[:'part12_fatca_status_under_iga_annex_ii']
  end

  if attributes.key?(:'part12_trustee_name')
    self.part12_trustee_name = attributes[:'part12_trustee_name']
  end

  if attributes.key?(:'part12_trustee_is_foreign')
    self.part12_trustee_is_foreign = attributes[:'part12_trustee_is_foreign']
  end

  if attributes.key?(:'part12_model2_iga_giin')
    self.part12_model2_iga_giin = attributes[:'part12_model2_iga_giin']
  end

  if attributes.key?(:'box37_a_exchange')
    self.box37_a_exchange = attributes[:'box37_a_exchange']
  end

  if attributes.key?(:'box37_b_exchange')
    self.box37_b_exchange = attributes[:'box37_b_exchange']
  end

  if attributes.key?(:'box37_b_entity')
    self.box37_b_entity = attributes[:'box37_b_entity']
  end

  if attributes.key?(:'part28_sponsoring_entity')
    self.part28_sponsoring_entity = attributes[:'part28_sponsoring_entity']
  end

  if attributes.key?(:'part28_sponsoring_entity_giin')
    self.part28_sponsoring_entity_giin = attributes[:'part28_sponsoring_entity_giin']
  end

  if attributes.key?(:'signer_name')
    self.signer_name = attributes[:'signer_name']
  end

  if attributes.key?(:'residence_is_mailing')
    self.residence_is_mailing = attributes[:'residence_is_mailing']
  end

  if attributes.key?(:'citizenship_country')
    self.citizenship_country = attributes[:'citizenship_country']
  end

  if attributes.key?(:'making_treaty_claim')
    self.making_treaty_claim = attributes[:'making_treaty_claim']
  end

  if attributes.key?(:'treaty_country')
    self.treaty_country = attributes[:'treaty_country']
  end

  if attributes.key?(:'treaty_article')
    self.treaty_article = attributes[:'treaty_article']
  end

  if attributes.key?(:'withholding_rate')
    self.withholding_rate = attributes[:'withholding_rate']
  end

  if attributes.key?(:'income_type')
    self.income_type = attributes[:'income_type']
  end

  if attributes.key?(:'treaty_reasons')
    self.treaty_reasons = attributes[:'treaty_reasons']
  end

  if attributes.key?(:'certify_box14_a')
    self.certify_box14_a = attributes[:'certify_box14_a']
  end

  if attributes.key?(:'certify_box14_b')
    self.certify_box14_b = attributes[:'certify_box14_b']
  end

  if attributes.key?(:'certify_box14_c')
    self.certify_box14_c = attributes[:'certify_box14_c']
  end

  if attributes.key?(:'certify_box17_1')
    self.certify_box17_1 = attributes[:'certify_box17_1']
  end

  if attributes.key?(:'certify_box17_2')
    self.certify_box17_2 = attributes[:'certify_box17_2']
  end

  if attributes.key?(:'certify_box18')
    self.certify_box18 = attributes[:'certify_box18']
  end

  if attributes.key?(:'certify_box19')
    self.certify_box19 = attributes[:'certify_box19']
  end

  if attributes.key?(:'certify_box21')
    self.certify_box21 = attributes[:'certify_box21']
  end

  if attributes.key?(:'certify_box22')
    self.certify_box22 = attributes[:'certify_box22']
  end

  if attributes.key?(:'certify_box23')
    self.certify_box23 = attributes[:'certify_box23']
  end

  if attributes.key?(:'certify_box24_a')
    self.certify_box24_a = attributes[:'certify_box24_a']
  end

  if attributes.key?(:'certify_box24_b')
    self.certify_box24_b = attributes[:'certify_box24_b']
  end

  if attributes.key?(:'certify_box24_c')
    self.certify_box24_c = attributes[:'certify_box24_c']
  end

  if attributes.key?(:'certify_box24_d')
    self.certify_box24_d = attributes[:'certify_box24_d']
  end

  if attributes.key?(:'certify_box25_a')
    self.certify_box25_a = attributes[:'certify_box25_a']
  end

  if attributes.key?(:'certify_box25_b')
    self.certify_box25_b = attributes[:'certify_box25_b']
  end

  if attributes.key?(:'certify_box25_c')
    self.certify_box25_c = attributes[:'certify_box25_c']
  end

  if attributes.key?(:'certify_box26')
    self.certify_box26 = attributes[:'certify_box26']
  end

  if attributes.key?(:'certify_box27')
    self.certify_box27 = attributes[:'certify_box27']
  end

  if attributes.key?(:'certify_box28_a')
    self.certify_box28_a = attributes[:'certify_box28_a']
  end

  if attributes.key?(:'certify_box28_b')
    self.certify_box28_b = attributes[:'certify_box28_b']
  end

  if attributes.key?(:'certify_box29_a')
    self.certify_box29_a = attributes[:'certify_box29_a']
  end

  if attributes.key?(:'certify_box29_b')
    self.certify_box29_b = attributes[:'certify_box29_b']
  end

  if attributes.key?(:'certify_box29_c')
    self.certify_box29_c = attributes[:'certify_box29_c']
  end

  if attributes.key?(:'certify_box29_d')
    self.certify_box29_d = attributes[:'certify_box29_d']
  end

  if attributes.key?(:'certify_box29_e')
    self.certify_box29_e = attributes[:'certify_box29_e']
  end

  if attributes.key?(:'certify_box29_f')
    self.certify_box29_f = attributes[:'certify_box29_f']
  end

  if attributes.key?(:'certify_box30')
    self.certify_box30 = attributes[:'certify_box30']
  end

  if attributes.key?(:'certify_box31')
    self.certify_box31 = attributes[:'certify_box31']
  end

  if attributes.key?(:'certify_box32')
    self.certify_box32 = attributes[:'certify_box32']
  end

  if attributes.key?(:'certify_box33')
    self.certify_box33 = attributes[:'certify_box33']
  end

  if attributes.key?(:'certify_box34')
    self.certify_box34 = attributes[:'certify_box34']
  end

  if attributes.key?(:'certify_box35')
    self.certify_box35 = attributes[:'certify_box35']
  end

  if attributes.key?(:'certify_box36')
    self.certify_box36 = attributes[:'certify_box36']
  end

  if attributes.key?(:'certify_box37_a')
    self.certify_box37_a = attributes[:'certify_box37_a']
  end

  if attributes.key?(:'certify_box37_b')
    self.certify_box37_b = attributes[:'certify_box37_b']
  end

  if attributes.key?(:'certify_box38')
    self.certify_box38 = attributes[:'certify_box38']
  end

  if attributes.key?(:'certify_box39')
    self.certify_box39 = attributes[:'certify_box39']
  end

  if attributes.key?(:'certify_box40_a')
    self.certify_box40_a = attributes[:'certify_box40_a']
  end

  if attributes.key?(:'certify_box40_b')
    self.certify_box40_b = attributes[:'certify_box40_b']
  end

  if attributes.key?(:'certify_box40_c')
    self.certify_box40_c = attributes[:'certify_box40_c']
  end

  if attributes.key?(:'certify_box41')
    self.certify_box41 = attributes[:'certify_box41']
  end

  if attributes.key?(:'certify_box43')
    self.certify_box43 = attributes[:'certify_box43']
  end

  if attributes.key?(:'certify_part29_signature')
    self.certify_part29_signature = attributes[:'certify_part29_signature']
  end

  if attributes.key?(:'part19_formation_or_resolution_date')
    self.part19_formation_or_resolution_date = attributes[:'part19_formation_or_resolution_date']
  end

  if attributes.key?(:'part20_filing_date')
    self.part20_filing_date = attributes[:'part20_filing_date']
  end

  if attributes.key?(:'part21_determination_date')
    self.part21_determination_date = attributes[:'part21_determination_date']
  end

  if attributes.key?(:'substantial_us_owners')
    if (value = attributes[:'substantial_us_owners']).is_a?(Array)
      self.substantial_us_owners = value
    end
  end

  if attributes.key?(:'birthday')
    self.birthday = attributes[:'birthday']
  end

  if attributes.key?(:'foreign_tin_not_required')
    self.foreign_tin_not_required = attributes[:'foreign_tin_not_required']
  end

  if attributes.key?(:'archived')
    self.archived = attributes[:'archived']
  end

  if attributes.key?(:'reference_id')
    self.reference_id = attributes[:'reference_id']
  end

  if attributes.key?(:'company_id')
    self.company_id = attributes[:'company_id']
  end

  if attributes.key?(:'display_name')
    self.display_name = attributes[:'display_name']
  end

  if attributes.key?(:'email')
    self.email = attributes[:'email']
  end

  if attributes.key?(:'signer_capacity')
    self.signer_capacity = attributes[:'signer_capacity']
  end

  if attributes.key?(:'updated_at')
    self.updated_at = attributes[:'updated_at']
  end

  if attributes.key?(:'ein')
    self.ein = attributes[:'ein']
  end

  if attributes.key?(:'ein_type')
    self.ein_type = attributes[:'ein_type']
  end

  if attributes.key?(:'certify_box14')
    self.certify_box14 = attributes[:'certify_box14']
  end

  if attributes.key?(:'certify_box15_a')
    self.certify_box15_a = attributes[:'certify_box15_a']
  end

  if attributes.key?(:'certify_box15_b')
    self.certify_box15_b = attributes[:'certify_box15_b']
  end

  if attributes.key?(:'certify_box15_c')
    self.certify_box15_c = attributes[:'certify_box15_c']
  end

  if attributes.key?(:'certify_box15_d')
    self.certify_box15_d = attributes[:'certify_box15_d']
  end

  if attributes.key?(:'certify_box15_e')
    self.certify_box15_e = attributes[:'certify_box15_e']
  end

  if attributes.key?(:'certify_box15_f')
    self.certify_box15_f = attributes[:'certify_box15_f']
  end

  if attributes.key?(:'certify_box15_g')
    self.certify_box15_g = attributes[:'certify_box15_g']
  end

  if attributes.key?(:'certify_box15_h')
    self.certify_box15_h = attributes[:'certify_box15_h']
  end

  if attributes.key?(:'certify_box15_i')
    self.certify_box15_i = attributes[:'certify_box15_i']
  end

  if attributes.key?(:'certify_box16_a')
    self.certify_box16_a = attributes[:'certify_box16_a']
  end

  if attributes.key?(:'box16_b_qdd_corporate')
    self.box16_b_qdd_corporate = attributes[:'box16_b_qdd_corporate']
  end

  if attributes.key?(:'box16_b_qdd_partnership')
    self.box16_b_qdd_partnership = attributes[:'box16_b_qdd_partnership']
  end

  if attributes.key?(:'box16_b_qdd_disregarded_entity')
    self.box16_b_qdd_disregarded_entity = attributes[:'box16_b_qdd_disregarded_entity']
  end

  if attributes.key?(:'certify_box17_a')
    self.certify_box17_a = attributes[:'certify_box17_a']
  end

  if attributes.key?(:'certify_box17_b')
    self.certify_box17_b = attributes[:'certify_box17_b']
  end

  if attributes.key?(:'certify_box17_c')
    self.certify_box17_c = attributes[:'certify_box17_c']
  end

  if attributes.key?(:'certify_box17_d')
    self.certify_box17_d = attributes[:'certify_box17_d']
  end

  if attributes.key?(:'certify_box17_e')
    self.certify_box17_e = attributes[:'certify_box17_e']
  end

  if attributes.key?(:'certify_box18_a')
    self.certify_box18_a = attributes[:'certify_box18_a']
  end

  if attributes.key?(:'certify_box18_b')
    self.certify_box18_b = attributes[:'certify_box18_b']
  end

  if attributes.key?(:'certify_box18_c')
    self.certify_box18_c = attributes[:'certify_box18_c']
  end

  if attributes.key?(:'certify_box18_d')
    self.certify_box18_d = attributes[:'certify_box18_d']
  end

  if attributes.key?(:'certify_box18_e')
    self.certify_box18_e = attributes[:'certify_box18_e']
  end

  if attributes.key?(:'certify_box18_f')
    self.certify_box18_f = attributes[:'certify_box18_f']
  end

  if attributes.key?(:'certify_box19_a')
    self.certify_box19_a = attributes[:'certify_box19_a']
  end

  if attributes.key?(:'certify_box19_b')
    self.certify_box19_b = attributes[:'certify_box19_b']
  end

  if attributes.key?(:'certify_box19_c')
    self.certify_box19_c = attributes[:'certify_box19_c']
  end

  if attributes.key?(:'certify_box19_d')
    self.certify_box19_d = attributes[:'certify_box19_d']
  end

  if attributes.key?(:'certify_box19_e')
    self.certify_box19_e = attributes[:'certify_box19_e']
  end

  if attributes.key?(:'certify_box19_f')
    self.certify_box19_f = attributes[:'certify_box19_f']
  end

  if attributes.key?(:'certify_box20')
    self.certify_box20 = attributes[:'certify_box20']
  end

  if attributes.key?(:'certify_box21_a')
    self.certify_box21_a = attributes[:'certify_box21_a']
  end

  if attributes.key?(:'certify_box21_b')
    self.certify_box21_b = attributes[:'certify_box21_b']
  end

  if attributes.key?(:'certify_box21_c')
    self.certify_box21_c = attributes[:'certify_box21_c']
  end

  if attributes.key?(:'certify_box21_d')
    self.certify_box21_d = attributes[:'certify_box21_d']
  end

  if attributes.key?(:'certify_box21_e')
    self.certify_box21_e = attributes[:'certify_box21_e']
  end

  if attributes.key?(:'certify_box21_f')
    self.certify_box21_f = attributes[:'certify_box21_f']
  end

  if attributes.key?(:'box23_a_name_sponsoring_entity')
    self.box23_a_name_sponsoring_entity = attributes[:'box23_a_name_sponsoring_entity']
  end

  if attributes.key?(:'certify_box23_b')
    self.certify_box23_b = attributes[:'certify_box23_b']
  end

  if attributes.key?(:'certify_box23_c')
    self.certify_box23_c = attributes[:'certify_box23_c']
  end

  if attributes.key?(:'certify_box25')
    self.certify_box25 = attributes[:'certify_box25']
  end

  if attributes.key?(:'box27_a_name_sponsoring_entity')
    self.box27_a_name_sponsoring_entity = attributes[:'box27_a_name_sponsoring_entity']
  end

  if attributes.key?(:'certify_box27_b')
    self.certify_box27_b = attributes[:'certify_box27_b']
  end

  if attributes.key?(:'certify_box28')
    self.certify_box28 = attributes[:'certify_box28']
  end

  if attributes.key?(:'certify_box29')
    self.certify_box29 = attributes[:'certify_box29']
  end

  if attributes.key?(:'certify_box30_a')
    self.certify_box30_a = attributes[:'certify_box30_a']
  end

  if attributes.key?(:'certify_box30_b')
    self.certify_box30_b = attributes[:'certify_box30_b']
  end

  if attributes.key?(:'certify_box30_c')
    self.certify_box30_c = attributes[:'certify_box30_c']
  end

  if attributes.key?(:'box32_iga_country')
    self.box32_iga_country = attributes[:'box32_iga_country']
  end

  if attributes.key?(:'box32_iga_type')
    self.box32_iga_type = attributes[:'box32_iga_type']
  end

  if attributes.key?(:'box32_iga_treated_as')
    self.box32_iga_treated_as = attributes[:'box32_iga_treated_as']
  end

  if attributes.key?(:'box32_trustee_or_sponsor')
    self.box32_trustee_or_sponsor = attributes[:'box32_trustee_or_sponsor']
  end

  if attributes.key?(:'box32_trustee_is_foreign')
    self.box32_trustee_is_foreign = attributes[:'box32_trustee_is_foreign']
  end

  if attributes.key?(:'certify_box33_a')
    self.certify_box33_a = attributes[:'certify_box33_a']
  end

  if attributes.key?(:'certify_box33_b')
    self.certify_box33_b = attributes[:'certify_box33_b']
  end

  if attributes.key?(:'certify_box33_c')
    self.certify_box33_c = attributes[:'certify_box33_c']
  end

  if attributes.key?(:'certify_box33_d')
    self.certify_box33_d = attributes[:'certify_box33_d']
  end

  if attributes.key?(:'certify_box33_e')
    self.certify_box33_e = attributes[:'certify_box33_e']
  end

  if attributes.key?(:'certify_box33_f')
    self.certify_box33_f = attributes[:'certify_box33_f']
  end

  if attributes.key?(:'box37_a_securities_market')
    self.box37_a_securities_market = attributes[:'box37_a_securities_market']
  end

  if attributes.key?(:'box37_b_name_of_entity')
    self.box37_b_name_of_entity = attributes[:'box37_b_name_of_entity']
  end

  if attributes.key?(:'box37_b_securities_market')
    self.box37_b_securities_market = attributes[:'box37_b_securities_market']
  end

  if attributes.key?(:'certify_box40')
    self.certify_box40 = attributes[:'certify_box40']
  end

  if attributes.key?(:'box41_sponsoring_entity')
    self.box41_sponsoring_entity = attributes[:'box41_sponsoring_entity']
  end

  if attributes.key?(:'certify_box42')
    self.certify_box42 = attributes[:'certify_box42']
  end

  if attributes.key?(:'box35_formed_on_date')
    self.box35_formed_on_date = attributes[:'box35_formed_on_date']
  end

  if attributes.key?(:'box36_filed_on_date')
    self.box36_filed_on_date = attributes[:'box36_filed_on_date']
  end

  if attributes.key?(:'tin_match_status')
    self.tin_match_status = attributes[:'tin_match_status']
  end

  if attributes.key?(:'signature')
    self.signature = attributes[:'signature']
  end

  if attributes.key?(:'business_classification')
    self.business_classification = attributes[:'business_classification']
  end

  if attributes.key?(:'business_name')
    self.business_name = attributes[:'business_name']
  end

  if attributes.key?(:'business_other')
    self.business_other = attributes[:'business_other']
  end

  if attributes.key?(:'exempt_payee_code')
    self.exempt_payee_code = attributes[:'exempt_payee_code']
  end

  if attributes.key?(:'exempt_fatca_code')
    self.exempt_fatca_code = attributes[:'exempt_fatca_code']
  end

  if attributes.key?(:'account_number')
    self. = attributes[:'account_number']
  end

  if attributes.key?(:'foreign_country_indicator')
    self.foreign_country_indicator = attributes[:'foreign_country_indicator']
  end

  if attributes.key?(:'foreign_address')
    self.foreign_address = attributes[:'foreign_address']
  end

  if attributes.key?(:'backup_withholding')
    self.backup_withholding = attributes[:'backup_withholding']
  end

  if attributes.key?(:'is1099able')
    self.is1099able = attributes[:'is1099able']
  end

  if attributes.key?(:'foreign_partner_owner_or_beneficiary')
    self.foreign_partner_owner_or_beneficiary = attributes[:'foreign_partner_owner_or_beneficiary']
  end
end

Instance Attribute Details

#account_numberObject

The account number associated with the form.



594
595
596
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 594

def 
  @account_number
end

#addressObject

The address of the employee.



37
38
39
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 37

def address
  @address
end

#archivedObject

Indicates whether the form is archived.



347
348
349
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 347

def archived
  @archived
end

#backup_withholdingObject

Indicates whether backup withholding applies.



603
604
605
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 603

def backup_withholding
  @backup_withholding
end

#benefit_limitationObject

The benefit limitation for tax treaty claims.



160
161
162
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 160

def benefit_limitation
  @benefit_limitation
end

#birthdayObject

The birthday of the individual associated with the form.



341
342
343
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 341

def birthday
  @birthday
end

#box16_b_qdd_corporateObject

Indicates certification for box 16B as a QDD corporate entity.



407
408
409
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 407

def box16_b_qdd_corporate
  @box16_b_qdd_corporate
end

#box16_b_qdd_disregarded_entityObject

Indicates certification for box 16B as a QDD disregarded entity.



413
414
415
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 413

def box16_b_qdd_disregarded_entity
  @box16_b_qdd_disregarded_entity
end

#box16_b_qdd_partnershipObject

Indicates certification for box 16B as a QDD partnership.



410
411
412
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 410

def box16_b_qdd_partnership
  @box16_b_qdd_partnership
end

#box23_a_name_sponsoring_entityObject

The name of the sponsoring entity for box 23A.



488
489
490
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 488

def box23_a_name_sponsoring_entity
  @box23_a_name_sponsoring_entity
end

#box27_a_name_sponsoring_entityObject

The name of the sponsoring entity for box 27A.



500
501
502
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 500

def box27_a_name_sponsoring_entity
  @box27_a_name_sponsoring_entity
end

#box32_iga_countryObject

The IGA country information for box 32.



521
522
523
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 521

def box32_iga_country
  @box32_iga_country
end

#box32_iga_treated_asObject

The IGA treatment information for box 32.



527
528
529
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 527

def box32_iga_treated_as
  @box32_iga_treated_as
end

#box32_iga_typeObject

The IGA type information for box 32.



524
525
526
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 524

def box32_iga_type
  @box32_iga_type
end

#box32_trustee_is_foreignObject

Indicates whether the trustee is foreign for box 32.



533
534
535
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 533

def box32_trustee_is_foreign
  @box32_trustee_is_foreign
end

#box32_trustee_or_sponsorObject

The trustee or sponsor information for box 32.



530
531
532
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 530

def box32_trustee_or_sponsor
  @box32_trustee_or_sponsor
end

#box35_formed_on_dateObject

Returns the value of attribute box35_formed_on_date.



571
572
573
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 571

def box35_formed_on_date
  @box35_formed_on_date
end

#box36_filed_on_dateObject

Returns the value of attribute box36_filed_on_date.



573
574
575
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 573

def box36_filed_on_date
  @box36_filed_on_date
end

#box37_a_exchangeObject

The exchange information for Box 37A.



190
191
192
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 190

def box37_a_exchange
  @box37_a_exchange
end

#box37_a_securities_marketObject

The securities market information for box 37A.



554
555
556
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 554

def box37_a_securities_market
  @box37_a_securities_market
end

#box37_b_entityObject

The entity information for Box 37B.



196
197
198
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 196

def box37_b_entity
  @box37_b_entity
end

#box37_b_exchangeObject

The exchange information for Box 37B.



193
194
195
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 193

def box37_b_exchange
  @box37_b_exchange
end

#box37_b_name_of_entityObject

The name of the entity for box 37B.



557
558
559
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 557

def box37_b_name_of_entity
  @box37_b_name_of_entity
end

#box37_b_securities_marketObject

The securities market information for box 37B.



560
561
562
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 560

def box37_b_securities_market
  @box37_b_securities_market
end

#box3_marital_statusObject

The marital status of the employee.



55
56
57
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 55

def box3_marital_status
  @box3_marital_status
end

#box41_sponsoring_entityObject

The sponsoring entity information for box 41.



566
567
568
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 566

def box41_sponsoring_entity
  @box41_sponsoring_entity
end

#box4_last_name_differsObject

Indicates whether the last name differs from prior records.



58
59
60
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 58

def box4_last_name_differs
  @box4_last_name_differs
end

#box5_num_allowancesObject

The number of allowances claimed by the employee.



61
62
63
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 61

def box5_num_allowances
  @box5_num_allowances
end

#box6_additional_withheldObject

The additional amount withheld.



73
74
75
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 73

def box6_additional_withheld
  @box6_additional_withheld
end

#box7_exempt_from_withholdingObject

Indicates whether the employee is exempt from withholding.



76
77
78
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 76

def box7_exempt_from_withholding
  @box7_exempt_from_withholding
end

#business_classificationObject

The classification of the business.



582
583
584
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 582

def business_classification
  @business_classification
end

#business_nameObject

The name of the business associated with the form.



585
586
587
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 585

def business_name
  @business_name
end

#business_otherObject

Returns the value of attribute business_other.



587
588
589
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 587

def business_other
  @business_other
end

#certify_box14Object

Indicates certification for box 14.



374
375
376
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 374

def certify_box14
  @certify_box14
end

#certify_box14_aObject

Returns the value of attribute certify_box14_a.



230
231
232
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 230

def certify_box14_a
  @certify_box14_a
end

#certify_box14_bObject

Returns the value of attribute certify_box14_b.



232
233
234
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 232

def certify_box14_b
  @certify_box14_b
end

#certify_box14_cObject

Returns the value of attribute certify_box14_c.



234
235
236
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 234

def certify_box14_c
  @certify_box14_c
end

#certify_box15_aObject

Indicates certification for box 15A.



377
378
379
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 377

def certify_box15_a
  @certify_box15_a
end

#certify_box15_bObject

Indicates certification for box 15B.



380
381
382
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 380

def certify_box15_b
  @certify_box15_b
end

#certify_box15_cObject

Indicates certification for box 15C.



383
384
385
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 383

def certify_box15_c
  @certify_box15_c
end

#certify_box15_dObject

Indicates certification for box 15D.



386
387
388
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 386

def certify_box15_d
  @certify_box15_d
end

#certify_box15_eObject

Indicates certification for box 15E.



389
390
391
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 389

def certify_box15_e
  @certify_box15_e
end

#certify_box15_fObject

Indicates certification for box 15F.



392
393
394
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 392

def certify_box15_f
  @certify_box15_f
end

#certify_box15_gObject

Indicates certification for box 15G.



395
396
397
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 395

def certify_box15_g
  @certify_box15_g
end

#certify_box15_hObject

Indicates certification for box 15H.



398
399
400
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 398

def certify_box15_h
  @certify_box15_h
end

#certify_box15_iObject

Indicates certification for box 15I.



401
402
403
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 401

def certify_box15_i
  @certify_box15_i
end

#certify_box16_aObject

Indicates certification for box 16A.



404
405
406
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 404

def certify_box16_a
  @certify_box16_a
end

#certify_box17_1Object

Returns the value of attribute certify_box17_1.



236
237
238
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 236

def certify_box17_1
  @certify_box17_1
end

#certify_box17_2Object

Returns the value of attribute certify_box17_2.



238
239
240
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 238

def certify_box17_2
  @certify_box17_2
end

#certify_box17_aObject

Indicates certification for box 17A.



416
417
418
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 416

def certify_box17_a
  @certify_box17_a
end

#certify_box17_bObject

Indicates certification for box 17B.



419
420
421
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 419

def certify_box17_b
  @certify_box17_b
end

#certify_box17_cObject

Indicates certification for box 17C.



422
423
424
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 422

def certify_box17_c
  @certify_box17_c
end

#certify_box17_dObject

Indicates certification for box 17D.



425
426
427
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 425

def certify_box17_d
  @certify_box17_d
end

#certify_box17_eObject

Indicates certification for box 17E.



428
429
430
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 428

def certify_box17_e
  @certify_box17_e
end

#certify_box18Object

Returns the value of attribute certify_box18.



240
241
242
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 240

def certify_box18
  @certify_box18
end

#certify_box18_aObject

Indicates certification for box 18A.



431
432
433
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 431

def certify_box18_a
  @certify_box18_a
end

#certify_box18_bObject

Indicates certification for box 18B.



434
435
436
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 434

def certify_box18_b
  @certify_box18_b
end

#certify_box18_cObject

Indicates certification for box 18C.



437
438
439
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 437

def certify_box18_c
  @certify_box18_c
end

#certify_box18_dObject

Indicates certification for box 18D.



440
441
442
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 440

def certify_box18_d
  @certify_box18_d
end

#certify_box18_eObject

Indicates certification for box 18E.



443
444
445
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 443

def certify_box18_e
  @certify_box18_e
end

#certify_box18_fObject

Indicates certification for box 18F.



446
447
448
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 446

def certify_box18_f
  @certify_box18_f
end

#certify_box19Object

Returns the value of attribute certify_box19.



242
243
244
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 242

def certify_box19
  @certify_box19
end

#certify_box19_aObject

Indicates certification for box 19A.



449
450
451
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 449

def certify_box19_a
  @certify_box19_a
end

#certify_box19_bObject

Indicates certification for box 19B.



452
453
454
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 452

def certify_box19_b
  @certify_box19_b
end

#certify_box19_cObject

Indicates certification for box 19C.



455
456
457
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 455

def certify_box19_c
  @certify_box19_c
end

#certify_box19_dObject

Indicates certification for box 19D.



458
459
460
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 458

def certify_box19_d
  @certify_box19_d
end

#certify_box19_eObject

Indicates certification for box 19E.



461
462
463
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 461

def certify_box19_e
  @certify_box19_e
end

#certify_box19_fObject

Indicates certification for box 19F.



464
465
466
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 464

def certify_box19_f
  @certify_box19_f
end

#certify_box20Object

Indicates certification for box 20.



467
468
469
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 467

def certify_box20
  @certify_box20
end

#certify_box21Object

Returns the value of attribute certify_box21.



244
245
246
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 244

def certify_box21
  @certify_box21
end

#certify_box21_aObject

Indicates certification for box 21A.



470
471
472
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 470

def certify_box21_a
  @certify_box21_a
end

#certify_box21_bObject

Indicates certification for box 21B.



473
474
475
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 473

def certify_box21_b
  @certify_box21_b
end

#certify_box21_cObject

Indicates certification for box 21C.



476
477
478
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 476

def certify_box21_c
  @certify_box21_c
end

#certify_box21_dObject

Indicates certification for box 21D.



479
480
481
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 479

def certify_box21_d
  @certify_box21_d
end

#certify_box21_eObject

Indicates certification for box 21E.



482
483
484
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 482

def certify_box21_e
  @certify_box21_e
end

#certify_box21_fObject

Indicates certification for box 21F.



485
486
487
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 485

def certify_box21_f
  @certify_box21_f
end

#certify_box22Object

Indicates certification for box 22.



247
248
249
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 247

def certify_box22
  @certify_box22
end

#certify_box23Object

Returns the value of attribute certify_box23.



249
250
251
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 249

def certify_box23
  @certify_box23
end

#certify_box23_bObject

Indicates certification for box 23B.



491
492
493
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 491

def certify_box23_b
  @certify_box23_b
end

#certify_box23_cObject

Indicates certification for box 23C.



494
495
496
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 494

def certify_box23_c
  @certify_box23_c
end

#certify_box24_aObject

Indicates certification for box 24A.



252
253
254
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 252

def certify_box24_a
  @certify_box24_a
end

#certify_box24_bObject

Indicates certification for box 24B.



255
256
257
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 255

def certify_box24_b
  @certify_box24_b
end

#certify_box24_cObject

Indicates certification for box 24C.



258
259
260
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 258

def certify_box24_c
  @certify_box24_c
end

#certify_box24_dObject

Returns the value of attribute certify_box24_d.



260
261
262
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 260

def certify_box24_d
  @certify_box24_d
end

#certify_box25Object

Indicates certification for box 25.



497
498
499
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 497

def certify_box25
  @certify_box25
end

#certify_box25_aObject

Returns the value of attribute certify_box25_a.



262
263
264
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 262

def certify_box25_a
  @certify_box25_a
end

#certify_box25_bObject

Returns the value of attribute certify_box25_b.



264
265
266
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 264

def certify_box25_b
  @certify_box25_b
end

#certify_box25_cObject

Returns the value of attribute certify_box25_c.



266
267
268
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 266

def certify_box25_c
  @certify_box25_c
end

#certify_box26Object

Indicates certification for box 26.



269
270
271
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 269

def certify_box26
  @certify_box26
end

#certify_box27Object

Returns the value of attribute certify_box27.



271
272
273
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 271

def certify_box27
  @certify_box27
end

#certify_box27_bObject

Indicates certification for box 27B.



503
504
505
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 503

def certify_box27_b
  @certify_box27_b
end

#certify_box28Object

Indicates certification for box 28.



506
507
508
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 506

def certify_box28
  @certify_box28
end

#certify_box28_aObject

Returns the value of attribute certify_box28_a.



273
274
275
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 273

def certify_box28_a
  @certify_box28_a
end

#certify_box28_bObject

Returns the value of attribute certify_box28_b.



275
276
277
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 275

def certify_box28_b
  @certify_box28_b
end

#certify_box29Object

Indicates certification for box 29.



509
510
511
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 509

def certify_box29
  @certify_box29
end

#certify_box29_aObject

Returns the value of attribute certify_box29_a.



277
278
279
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 277

def certify_box29_a
  @certify_box29_a
end

#certify_box29_bObject

Returns the value of attribute certify_box29_b.



279
280
281
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 279

def certify_box29_b
  @certify_box29_b
end

#certify_box29_cObject

Returns the value of attribute certify_box29_c.



281
282
283
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 281

def certify_box29_c
  @certify_box29_c
end

#certify_box29_dObject

Returns the value of attribute certify_box29_d.



283
284
285
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 283

def certify_box29_d
  @certify_box29_d
end

#certify_box29_eObject

Returns the value of attribute certify_box29_e.



285
286
287
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 285

def certify_box29_e
  @certify_box29_e
end

#certify_box29_fObject

Returns the value of attribute certify_box29_f.



287
288
289
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 287

def certify_box29_f
  @certify_box29_f
end

#certify_box30Object

Returns the value of attribute certify_box30.



289
290
291
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 289

def certify_box30
  @certify_box30
end

#certify_box30_aObject

Indicates certification for box 30A.



512
513
514
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 512

def certify_box30_a
  @certify_box30_a
end

#certify_box30_bObject

Indicates certification for box 30B.



515
516
517
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 515

def certify_box30_b
  @certify_box30_b
end

#certify_box30_cObject

Indicates certification for box 30C.



518
519
520
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 518

def certify_box30_c
  @certify_box30_c
end

#certify_box31Object

Indicates certification for box 31.



292
293
294
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 292

def certify_box31
  @certify_box31
end

#certify_box32Object

Indicates certification for box 32.



295
296
297
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 295

def certify_box32
  @certify_box32
end

#certify_box33Object

Returns the value of attribute certify_box33.



297
298
299
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 297

def certify_box33
  @certify_box33
end

#certify_box33_aObject

Indicates certification for box 33A.



536
537
538
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 536

def certify_box33_a
  @certify_box33_a
end

#certify_box33_bObject

Indicates certification for box 33B.



539
540
541
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 539

def certify_box33_b
  @certify_box33_b
end

#certify_box33_cObject

Indicates certification for box 33C.



542
543
544
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 542

def certify_box33_c
  @certify_box33_c
end

#certify_box33_dObject

Indicates certification for box 33D.



545
546
547
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 545

def certify_box33_d
  @certify_box33_d
end

#certify_box33_eObject

Indicates certification for box 33E.



548
549
550
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 548

def certify_box33_e
  @certify_box33_e
end

#certify_box33_fObject

Indicates certification for box 33F.



551
552
553
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 551

def certify_box33_f
  @certify_box33_f
end

#certify_box34Object

Indicates certification for box 34.



300
301
302
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 300

def certify_box34
  @certify_box34
end

#certify_box35Object

Indicates certification for box 35.



303
304
305
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 303

def certify_box35
  @certify_box35
end

#certify_box36Object

Indicates certification for box 36.



306
307
308
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 306

def certify_box36
  @certify_box36
end

#certify_box37_aObject

Indicates certification for box 37A.



309
310
311
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 309

def certify_box37_a
  @certify_box37_a
end

#certify_box37_bObject

Indicates certification for box 37B.



312
313
314
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 312

def certify_box37_b
  @certify_box37_b
end

#certify_box38Object

Indicates certification for box 38.



315
316
317
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 315

def certify_box38
  @certify_box38
end

#certify_box39Object

Indicates certification for box 39.



318
319
320
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 318

def certify_box39
  @certify_box39
end

#certify_box40Object

Indicates certification for box 40.



563
564
565
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 563

def certify_box40
  @certify_box40
end

#certify_box40_aObject

Returns the value of attribute certify_box40_a.



320
321
322
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 320

def certify_box40_a
  @certify_box40_a
end

#certify_box40_bObject

Returns the value of attribute certify_box40_b.



322
323
324
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 322

def certify_box40_b
  @certify_box40_b
end

#certify_box40_cObject

Returns the value of attribute certify_box40_c.



324
325
326
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 324

def certify_box40_c
  @certify_box40_c
end

#certify_box41Object

Returns the value of attribute certify_box41.



326
327
328
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 326

def certify_box41
  @certify_box41
end

#certify_box42Object

Indicates certification for box 42.



569
570
571
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 569

def certify_box42
  @certify_box42
end

#certify_box43Object

Returns the value of attribute certify_box43.



328
329
330
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 328

def certify_box43
  @certify_box43
end

#certify_part29_signatureObject

Returns the value of attribute certify_part29_signature.



330
331
332
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 330

def certify_part29_signature
  @certify_part29_signature
end

#chapter3_entity_typeObject

The Chapter 3 entity type.



148
149
150
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 148

def chapter3_entity_type
  @chapter3_entity_type
end

#chapter4_fatca_statusObject

The Chapter 4 FATCA status.



151
152
153
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 151

def chapter4_fatca_status
  @chapter4_fatca_status
end

#citizenship_countryObject

The country of citizenship.



211
212
213
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 211

def citizenship_country
  @citizenship_country
end

#cityObject

The city of residence of the employee.



40
41
42
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 40

def city
  @city
end

#company_idObject

The ID of the associated company.



353
354
355
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 353

def company_id
  @company_id
end

#created_atObject

The creation date of the form.



22
23
24
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 22

def created_at
  @created_at
end

#deductionsObject

The amount of deductions claimed.



70
71
72
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 70

def deductions
  @deductions
end

#display_nameObject

The display name associated with the form.



356
357
358
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 356

def display_name
  @display_name
end

#disregarded_addressObject

The address for disregarded entities.



121
122
123
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 121

def disregarded_address
  @disregarded_address
end

#disregarded_cityObject

The city for disregarded entities.



124
125
126
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 124

def disregarded_city
  @disregarded_city
end

#disregarded_countryObject

The country for disregarded entities.



133
134
135
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 133

def disregarded_country
  @disregarded_country
end

#disregarded_entityObject

The disregarded entity information.



154
155
156
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 154

def disregarded_entity
  @disregarded_entity
end

#disregarded_entity_chapter4_fatca_statusObject

The FATCA status for disregarded entities under Chapter 4.



85
86
87
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 85

def disregarded_entity_chapter4_fatca_status
  @disregarded_entity_chapter4_fatca_status
end

#disregarded_entity_giinObject

The GIIN for disregarded entities.



157
158
159
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 157

def disregarded_entity_giin
  @disregarded_entity_giin
end

#disregarded_postal_codeObject

The postal code for disregarded entities.



130
131
132
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 130

def disregarded_postal_code
  @disregarded_postal_code
end

#disregarded_stateObject

The state for disregarded entities.



127
128
129
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 127

def disregarded_state
  @disregarded_state
end

#e_delivery_consented_atObject

The date when e-delivery was consented.



82
83
84
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 82

def e_delivery_consented_at
  @e_delivery_consented_at
end

#einObject

The employer identification number (EIN).



368
369
370
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 368

def ein
  @ein
end

#ein_typeObject

The type of employer identification number (EIN).



371
372
373
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 371

def ein_type
  @ein_type
end

#emailObject

The email address of the individual associated with the form.



359
360
361
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 359

def email
  @email
end

#employee_first_nameObject

The first name of the employee.



25
26
27
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 25

def employee_first_name
  @employee_first_name
end

#employee_last_nameObject

The last name of the employee.



31
32
33
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 31

def employee_last_name
  @employee_last_name
end

#employee_middle_nameObject

The middle name of the employee.



28
29
30
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 28

def employee_middle_name
  @employee_middle_name
end

#employee_name_suffixObject

The name suffix of the employee.



34
35
36
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 34

def employee_name_suffix
  @employee_name_suffix
end

#exempt_fatca_codeObject

Returns the value of attribute exempt_fatca_code.



591
592
593
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 591

def exempt_fatca_code
  @exempt_fatca_code
end

#exempt_payee_codeObject

Returns the value of attribute exempt_payee_code.



589
590
591
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 589

def exempt_payee_code
  @exempt_payee_code
end

#foreign_addressObject

The foreign address of the individual or entity.



600
601
602
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 600

def foreign_address
  @foreign_address
end

#foreign_country_indicatorObject

Indicates whether the individual or entity is in a foreign country.



597
598
599
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 597

def foreign_country_indicator
  @foreign_country_indicator
end

#foreign_partner_owner_or_beneficiaryObject

Indicates whether the individual is a foreign partner, owner, or beneficiary.



608
609
610
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 608

def foreign_partner_owner_or_beneficiary
  @foreign_partner_owner_or_beneficiary
end

#foreign_tinObject

The foreign taxpayer identification number (TIN).



136
137
138
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 136

def foreign_tin
  @foreign_tin
end

#foreign_tin_not_requiredObject

Indicates whether a foreign TIN is not required.



344
345
346
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 344

def foreign_tin_not_required
  @foreign_tin_not_required
end

#ftin_not_requiredObject

Indicates whether a foreign TIN is not required.



139
140
141
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 139

def ftin_not_required
  @ftin_not_required
end

#giinObject

The global intermediary identification number (GIIN).



145
146
147
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 145

def giin
  @giin
end

#income_typeObject

The type of income covered by the treaty.



225
226
227
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 225

def income_type
  @income_type
end

#is1099ableObject

Returns the value of attribute is1099able.



605
606
607
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 605

def is1099able
  @is1099able
end

#mailing_addressObject

The mailing address.



106
107
108
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 106

def mailing_address
  @mailing_address
end

#mailing_cityObject

The city of the mailing address.



109
110
111
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 109

def mailing_city
  @mailing_city
end

#mailing_countryObject

The country of the mailing address.



118
119
120
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 118

def mailing_country
  @mailing_country
end

#mailing_postal_codeObject

The postal code of the mailing address.



115
116
117
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 115

def mailing_postal_code
  @mailing_postal_code
end

#mailing_stateObject

The state of the mailing address.



112
113
114
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 112

def mailing_state
  @mailing_state
end

#making_treaty_claimObject

Returns the value of attribute making_treaty_claim.



213
214
215
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 213

def making_treaty_claim
  @making_treaty_claim
end

#nameObject

The name of the individual or entity associated with the form.



88
89
90
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 88

def name
  @name
end

#non_job_incomeObject

The amount of non-job income.



67
68
69
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 67

def non_job_income
  @non_job_income
end

#office_codeObject

The office code associated with the form.



79
80
81
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 79

def office_code
  @office_code
end

#other_dependentsObject

The number of dependents other than allowances.



64
65
66
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 64

def other_dependents
  @other_dependents
end

#part12_fatca_status_under_iga_annex_iiObject

The FATCA status under IGA Annex II for Part 12.



178
179
180
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 178

def part12_fatca_status_under_iga_annex_ii
  @part12_fatca_status_under_iga_annex_ii
end

#part12_iga_countryObject

The IGA country information for Part 12.



172
173
174
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 172

def part12_iga_country
  @part12_iga_country
end

#part12_iga_typeObject

The IGA type information for Part 12.



175
176
177
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 175

def part12_iga_type
  @part12_iga_type
end

#part12_model2_iga_giinObject

The GIIN for Model 2 IGA in Part 12.



187
188
189
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 187

def part12_model2_iga_giin
  @part12_model2_iga_giin
end

#part12_trustee_is_foreignObject

Indicates whether the trustee is foreign for Part 12.



184
185
186
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 184

def part12_trustee_is_foreign
  @part12_trustee_is_foreign
end

#part12_trustee_nameObject

The trustee name for Part 12.



181
182
183
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 181

def part12_trustee_name
  @part12_trustee_name
end

#part19_formation_or_resolution_dateObject

Returns the value of attribute part19_formation_or_resolution_date.



332
333
334
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 332

def part19_formation_or_resolution_date
  @part19_formation_or_resolution_date
end

#part20_filing_dateObject

Returns the value of attribute part20_filing_date.



334
335
336
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 334

def part20_filing_date
  @part20_filing_date
end

#part21_determination_dateObject

Returns the value of attribute part21_determination_date.



336
337
338
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 336

def part21_determination_date
  @part21_determination_date
end

#part28_sponsoring_entityObject

The sponsoring entity information for Part 28.



199
200
201
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 199

def part28_sponsoring_entity
  @part28_sponsoring_entity
end

#part28_sponsoring_entity_giinObject

The GIIN for the sponsoring entity in Part 28.



202
203
204
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 202

def part28_sponsoring_entity_giin
  @part28_sponsoring_entity_giin
end

#part4_sponsoring_entityObject

The sponsoring entity information for Part 4.



163
164
165
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 163

def part4_sponsoring_entity
  @part4_sponsoring_entity
end

#part4_sponsoring_entity_giinObject

The GIIN for the sponsoring entity in Part 4.



166
167
168
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 166

def part4_sponsoring_entity_giin
  @part4_sponsoring_entity_giin
end

#part7_sponsoring_entityObject

The sponsoring entity information for Part 7.



169
170
171
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 169

def part7_sponsoring_entity
  @part7_sponsoring_entity
end

#reference_idObject

A reference identifier for the form.



350
351
352
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 350

def reference_id
  @reference_id
end

#reference_numberObject

A reference number for the form.



142
143
144
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 142

def reference_number
  @reference_number
end

#residence_addressObject

The residential address of the individual or entity.



91
92
93
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 91

def residence_address
  @residence_address
end

#residence_cityObject

The city of residence.



94
95
96
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 94

def residence_city
  @residence_city
end

#residence_countryObject

The country of residence.



103
104
105
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 103

def residence_country
  @residence_country
end

#residence_is_mailingObject

Indicates whether the residence address is also the mailing address.



208
209
210
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 208

def residence_is_mailing
  @residence_is_mailing
end

#residence_postal_codeObject

The postal code of the residence.



100
101
102
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 100

def residence_postal_code
  @residence_postal_code
end

#residence_stateObject

The state of residence.



97
98
99
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 97

def residence_state
  @residence_state
end

#signatureObject

The signature itself



579
580
581
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 579

def signature
  @signature
end

#signed_dateObject

The date the form was signed.



19
20
21
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 19

def signed_date
  @signed_date
end

#signer_capacityObject

The capacity in which the signer is signing the form.



362
363
364
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 362

def signer_capacity
  @signer_capacity
end

#signer_nameObject

The name of the signer of the form.



205
206
207
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 205

def signer_name
  @signer_name
end

#stateObject

The state of residence of the employee.



43
44
45
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 43

def state
  @state
end

#substantial_us_ownersObject

Returns the value of attribute substantial_us_owners.



338
339
340
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 338

def substantial_us_owners
  @substantial_us_owners
end

#tinObject

The taxpayer identification number (TIN) of the employee.



52
53
54
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 52

def tin
  @tin
end

#tin_match_statusObject

The status of the TIN match.



576
577
578
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 576

def tin_match_status
  @tin_match_status
end

#treaty_articleObject

The specific article of the treaty being claimed.



219
220
221
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 219

def treaty_article
  @treaty_article
end

#treaty_countryObject

The country for which the treaty applies.



216
217
218
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 216

def treaty_country
  @treaty_country
end

#treaty_reasonsObject

The reasons for claiming treaty benefits.



228
229
230
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 228

def treaty_reasons
  @treaty_reasons
end

#typeObject

Type of the form, always W4 for this model.



16
17
18
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 16

def type
  @type
end

#type_of_tinObject

The type of TIN provided.



49
50
51
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 49

def type_of_tin
  @type_of_tin
end

#updated_atObject

The last updated date of the form.



365
366
367
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 365

def updated_at
  @updated_at
end

#withholding_rateObject

The withholding rate applied as per the treaty.



222
223
224
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 222

def withholding_rate
  @withholding_rate
end

#zipObject

The ZIP code of residence of the employee.



46
47
48
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 46

def zip
  @zip
end

Class Method Details

._deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2356

def self._deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = AvalaraSdk::A1099::V2.const_get(type)
    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

.acceptable_attributesObject

Returns all the JSON keys this model knows about



851
852
853
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 851

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 633

def self.attribute_map
  {
    :'type' => :'type',
    :'signed_date' => :'signedDate',
    :'created_at' => :'createdAt',
    :'employee_first_name' => :'employeeFirstName',
    :'employee_middle_name' => :'employeeMiddleName',
    :'employee_last_name' => :'employeeLastName',
    :'employee_name_suffix' => :'employeeNameSuffix',
    :'address' => :'address',
    :'city' => :'city',
    :'state' => :'state',
    :'zip' => :'zip',
    :'type_of_tin' => :'typeOfTin',
    :'tin' => :'tin',
    :'box3_marital_status' => :'box3MaritalStatus',
    :'box4_last_name_differs' => :'box4LastNameDiffers',
    :'box5_num_allowances' => :'box5NumAllowances',
    :'other_dependents' => :'otherDependents',
    :'non_job_income' => :'nonJobIncome',
    :'deductions' => :'deductions',
    :'box6_additional_withheld' => :'box6AdditionalWithheld',
    :'box7_exempt_from_withholding' => :'box7ExemptFromWithholding',
    :'office_code' => :'officeCode',
    :'e_delivery_consented_at' => :'eDeliveryConsentedAt',
    :'disregarded_entity_chapter4_fatca_status' => :'disregardedEntityChapter4FatcaStatus',
    :'name' => :'name',
    :'residence_address' => :'residenceAddress',
    :'residence_city' => :'residenceCity',
    :'residence_state' => :'residenceState',
    :'residence_postal_code' => :'residencePostalCode',
    :'residence_country' => :'residenceCountry',
    :'mailing_address' => :'mailingAddress',
    :'mailing_city' => :'mailingCity',
    :'mailing_state' => :'mailingState',
    :'mailing_postal_code' => :'mailingPostalCode',
    :'mailing_country' => :'mailingCountry',
    :'disregarded_address' => :'disregardedAddress',
    :'disregarded_city' => :'disregardedCity',
    :'disregarded_state' => :'disregardedState',
    :'disregarded_postal_code' => :'disregardedPostalCode',
    :'disregarded_country' => :'disregardedCountry',
    :'foreign_tin' => :'foreignTin',
    :'ftin_not_required' => :'ftinNotRequired',
    :'reference_number' => :'referenceNumber',
    :'giin' => :'giin',
    :'chapter3_entity_type' => :'chapter3EntityType',
    :'chapter4_fatca_status' => :'chapter4FatcaStatus',
    :'disregarded_entity' => :'disregardedEntity',
    :'disregarded_entity_giin' => :'disregardedEntityGiin',
    :'benefit_limitation' => :'benefitLimitation',
    :'part4_sponsoring_entity' => :'part4SponsoringEntity',
    :'part4_sponsoring_entity_giin' => :'part4SponsoringEntityGiin',
    :'part7_sponsoring_entity' => :'part7SponsoringEntity',
    :'part12_iga_country' => :'part12IgaCountry',
    :'part12_iga_type' => :'part12IgaType',
    :'part12_fatca_status_under_iga_annex_ii' => :'part12FatcaStatusUnderIgaAnnexIi',
    :'part12_trustee_name' => :'part12TrusteeName',
    :'part12_trustee_is_foreign' => :'part12TrusteeIsForeign',
    :'part12_model2_iga_giin' => :'part12Model2IgaGiin',
    :'box37_a_exchange' => :'box37AExchange',
    :'box37_b_exchange' => :'box37BExchange',
    :'box37_b_entity' => :'box37BEntity',
    :'part28_sponsoring_entity' => :'part28SponsoringEntity',
    :'part28_sponsoring_entity_giin' => :'part28SponsoringEntityGiin',
    :'signer_name' => :'signerName',
    :'residence_is_mailing' => :'residenceIsMailing',
    :'citizenship_country' => :'citizenshipCountry',
    :'making_treaty_claim' => :'makingTreatyClaim',
    :'treaty_country' => :'treatyCountry',
    :'treaty_article' => :'treatyArticle',
    :'withholding_rate' => :'withholdingRate',
    :'income_type' => :'incomeType',
    :'treaty_reasons' => :'treatyReasons',
    :'certify_box14_a' => :'certifyBox14A',
    :'certify_box14_b' => :'certifyBox14B',
    :'certify_box14_c' => :'certifyBox14C',
    :'certify_box17_1' => :'certifyBox17_1',
    :'certify_box17_2' => :'certifyBox17_2',
    :'certify_box18' => :'certifyBox18',
    :'certify_box19' => :'certifyBox19',
    :'certify_box21' => :'certifyBox21',
    :'certify_box22' => :'certifyBox22',
    :'certify_box23' => :'certifyBox23',
    :'certify_box24_a' => :'certifyBox24A',
    :'certify_box24_b' => :'certifyBox24B',
    :'certify_box24_c' => :'certifyBox24C',
    :'certify_box24_d' => :'certifyBox24D',
    :'certify_box25_a' => :'certifyBox25A',
    :'certify_box25_b' => :'certifyBox25B',
    :'certify_box25_c' => :'certifyBox25C',
    :'certify_box26' => :'certifyBox26',
    :'certify_box27' => :'certifyBox27',
    :'certify_box28_a' => :'certifyBox28A',
    :'certify_box28_b' => :'certifyBox28B',
    :'certify_box29_a' => :'certifyBox29A',
    :'certify_box29_b' => :'certifyBox29B',
    :'certify_box29_c' => :'certifyBox29C',
    :'certify_box29_d' => :'certifyBox29D',
    :'certify_box29_e' => :'certifyBox29E',
    :'certify_box29_f' => :'certifyBox29F',
    :'certify_box30' => :'certifyBox30',
    :'certify_box31' => :'certifyBox31',
    :'certify_box32' => :'certifyBox32',
    :'certify_box33' => :'certifyBox33',
    :'certify_box34' => :'certifyBox34',
    :'certify_box35' => :'certifyBox35',
    :'certify_box36' => :'certifyBox36',
    :'certify_box37_a' => :'certifyBox37A',
    :'certify_box37_b' => :'certifyBox37B',
    :'certify_box38' => :'certifyBox38',
    :'certify_box39' => :'certifyBox39',
    :'certify_box40_a' => :'certifyBox40A',
    :'certify_box40_b' => :'certifyBox40B',
    :'certify_box40_c' => :'certifyBox40C',
    :'certify_box41' => :'certifyBox41',
    :'certify_box43' => :'certifyBox43',
    :'certify_part29_signature' => :'certifyPart29Signature',
    :'part19_formation_or_resolution_date' => :'part19FormationOrResolutionDate',
    :'part20_filing_date' => :'part20FilingDate',
    :'part21_determination_date' => :'part21DeterminationDate',
    :'substantial_us_owners' => :'substantialUsOwners',
    :'birthday' => :'birthday',
    :'foreign_tin_not_required' => :'foreignTinNotRequired',
    :'archived' => :'archived',
    :'reference_id' => :'referenceId',
    :'company_id' => :'companyId',
    :'display_name' => :'displayName',
    :'email' => :'email',
    :'signer_capacity' => :'signerCapacity',
    :'updated_at' => :'updatedAt',
    :'ein' => :'ein',
    :'ein_type' => :'einType',
    :'certify_box14' => :'certifyBox14',
    :'certify_box15_a' => :'certifyBox15A',
    :'certify_box15_b' => :'certifyBox15B',
    :'certify_box15_c' => :'certifyBox15C',
    :'certify_box15_d' => :'certifyBox15D',
    :'certify_box15_e' => :'certifyBox15E',
    :'certify_box15_f' => :'certifyBox15F',
    :'certify_box15_g' => :'certifyBox15G',
    :'certify_box15_h' => :'certifyBox15H',
    :'certify_box15_i' => :'certifyBox15I',
    :'certify_box16_a' => :'certifyBox16A',
    :'box16_b_qdd_corporate' => :'box16BQddCorporate',
    :'box16_b_qdd_partnership' => :'box16BQddPartnership',
    :'box16_b_qdd_disregarded_entity' => :'box16BQddDisregardedEntity',
    :'certify_box17_a' => :'certifyBox17A',
    :'certify_box17_b' => :'certifyBox17B',
    :'certify_box17_c' => :'certifyBox17C',
    :'certify_box17_d' => :'certifyBox17D',
    :'certify_box17_e' => :'certifyBox17E',
    :'certify_box18_a' => :'certifyBox18A',
    :'certify_box18_b' => :'certifyBox18B',
    :'certify_box18_c' => :'certifyBox18C',
    :'certify_box18_d' => :'certifyBox18D',
    :'certify_box18_e' => :'certifyBox18E',
    :'certify_box18_f' => :'certifyBox18F',
    :'certify_box19_a' => :'certifyBox19A',
    :'certify_box19_b' => :'certifyBox19B',
    :'certify_box19_c' => :'certifyBox19C',
    :'certify_box19_d' => :'certifyBox19D',
    :'certify_box19_e' => :'certifyBox19E',
    :'certify_box19_f' => :'certifyBox19F',
    :'certify_box20' => :'certifyBox20',
    :'certify_box21_a' => :'certifyBox21A',
    :'certify_box21_b' => :'certifyBox21B',
    :'certify_box21_c' => :'certifyBox21C',
    :'certify_box21_d' => :'certifyBox21D',
    :'certify_box21_e' => :'certifyBox21E',
    :'certify_box21_f' => :'certifyBox21F',
    :'box23_a_name_sponsoring_entity' => :'box23ANameSponsoringEntity',
    :'certify_box23_b' => :'certifyBox23B',
    :'certify_box23_c' => :'certifyBox23C',
    :'certify_box25' => :'certifyBox25',
    :'box27_a_name_sponsoring_entity' => :'box27ANameSponsoringEntity',
    :'certify_box27_b' => :'certifyBox27B',
    :'certify_box28' => :'certifyBox28',
    :'certify_box29' => :'certifyBox29',
    :'certify_box30_a' => :'certifyBox30A',
    :'certify_box30_b' => :'certifyBox30B',
    :'certify_box30_c' => :'certifyBox30C',
    :'box32_iga_country' => :'box32IgaCountry',
    :'box32_iga_type' => :'box32IgaType',
    :'box32_iga_treated_as' => :'box32IgaTreatedAs',
    :'box32_trustee_or_sponsor' => :'box32TrusteeOrSponsor',
    :'box32_trustee_is_foreign' => :'box32TrusteeIsForeign',
    :'certify_box33_a' => :'certifyBox33A',
    :'certify_box33_b' => :'certifyBox33B',
    :'certify_box33_c' => :'certifyBox33C',
    :'certify_box33_d' => :'certifyBox33D',
    :'certify_box33_e' => :'certifyBox33E',
    :'certify_box33_f' => :'certifyBox33F',
    :'box37_a_securities_market' => :'box37ASecuritiesMarket',
    :'box37_b_name_of_entity' => :'box37BNameOfEntity',
    :'box37_b_securities_market' => :'box37BSecuritiesMarket',
    :'certify_box40' => :'certifyBox40',
    :'box41_sponsoring_entity' => :'box41SponsoringEntity',
    :'certify_box42' => :'certifyBox42',
    :'box35_formed_on_date' => :'box35FormedOnDate',
    :'box36_filed_on_date' => :'box36FiledOnDate',
    :'tin_match_status' => :'tinMatchStatus',
    :'signature' => :'signature',
    :'business_classification' => :'businessClassification',
    :'business_name' => :'businessName',
    :'business_other' => :'businessOther',
    :'exempt_payee_code' => :'exemptPayeeCode',
    :'exempt_fatca_code' => :'exemptFatcaCode',
    :'account_number' => :'accountNumber',
    :'foreign_country_indicator' => :'foreignCountryIndicator',
    :'foreign_address' => :'foreignAddress',
    :'backup_withholding' => :'backupWithholding',
    :'is1099able' => :'is1099able',
    :'foreign_partner_owner_or_beneficiary' => :'foreignPartnerOwnerOrBeneficiary'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2332

def self.build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  attributes = attributes.transform_keys(&:to_sym)
  transformed_hash = {}
  openapi_types.each_pair do |key, type|
    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = nil
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[attribute_map[key]].is_a?(Array)
        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
      end
    elsif !attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    end
  end
  new(transformed_hash)
end

.openapi_all_ofObject

List of class defined in allOf (OpenAPI v3)



1189
1190
1191
1192
1193
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 1189

def self.openapi_all_of
  [
  :'IW9FormDataModelsOneOf'
  ]
end

.openapi_nullableObject

List of attributes with nullable: true



1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 1074

def self.openapi_nullable
  Set.new([
    :'signed_date',
    :'created_at',
    :'employee_first_name',
    :'employee_middle_name',
    :'employee_last_name',
    :'employee_name_suffix',
    :'address',
    :'city',
    :'state',
    :'zip',
    :'type_of_tin',
    :'tin',
    :'box3_marital_status',
    :'box4_last_name_differs',
    :'box5_num_allowances',
    :'other_dependents',
    :'non_job_income',
    :'deductions',
    :'box6_additional_withheld',
    :'box7_exempt_from_withholding',
    :'office_code',
    :'e_delivery_consented_at',
    :'disregarded_entity_chapter4_fatca_status',
    :'name',
    :'residence_address',
    :'residence_city',
    :'residence_state',
    :'residence_postal_code',
    :'residence_country',
    :'mailing_address',
    :'mailing_city',
    :'mailing_state',
    :'mailing_postal_code',
    :'mailing_country',
    :'disregarded_address',
    :'disregarded_city',
    :'disregarded_state',
    :'disregarded_postal_code',
    :'disregarded_country',
    :'foreign_tin',
    :'ftin_not_required',
    :'reference_number',
    :'giin',
    :'chapter3_entity_type',
    :'chapter4_fatca_status',
    :'disregarded_entity',
    :'disregarded_entity_giin',
    :'benefit_limitation',
    :'part4_sponsoring_entity',
    :'part4_sponsoring_entity_giin',
    :'part7_sponsoring_entity',
    :'part12_iga_country',
    :'part12_iga_type',
    :'part12_fatca_status_under_iga_annex_ii',
    :'part12_trustee_name',
    :'part12_trustee_is_foreign',
    :'part12_model2_iga_giin',
    :'box37_a_exchange',
    :'box37_b_exchange',
    :'box37_b_entity',
    :'part28_sponsoring_entity',
    :'part28_sponsoring_entity_giin',
    :'signer_name',
    :'citizenship_country',
    :'making_treaty_claim',
    :'treaty_country',
    :'treaty_article',
    :'withholding_rate',
    :'income_type',
    :'treaty_reasons',
    :'part19_formation_or_resolution_date',
    :'part20_filing_date',
    :'part21_determination_date',
    :'birthday',
    :'foreign_tin_not_required',
    :'archived',
    :'reference_id',
    :'company_id',
    :'display_name',
    :'email',
    :'signer_capacity',
    :'updated_at',
    :'ein',
    :'ein_type',
    :'box23_a_name_sponsoring_entity',
    :'box27_a_name_sponsoring_entity',
    :'box32_iga_country',
    :'box32_iga_type',
    :'box32_iga_treated_as',
    :'box32_trustee_or_sponsor',
    :'box37_a_securities_market',
    :'box37_b_name_of_entity',
    :'box37_b_securities_market',
    :'box41_sponsoring_entity',
    :'box35_formed_on_date',
    :'box36_filed_on_date',
    :'tin_match_status',
    :'signature',
    :'business_classification',
    :'business_name',
    :'business_other',
    :'exempt_payee_code',
    :'exempt_fatca_code',
    :'account_number',
    :'foreign_country_indicator',
    :'foreign_address',
    :'backup_withholding',
    :'is1099able',
    :'foreign_partner_owner_or_beneficiary'
  ])
end

.openapi_typesObject

Attribute type mapping.



856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 856

def self.openapi_types
  {
    :'type' => :'String',
    :'signed_date' => :'Time',
    :'created_at' => :'Time',
    :'employee_first_name' => :'String',
    :'employee_middle_name' => :'String',
    :'employee_last_name' => :'String',
    :'employee_name_suffix' => :'String',
    :'address' => :'String',
    :'city' => :'String',
    :'state' => :'String',
    :'zip' => :'String',
    :'type_of_tin' => :'String',
    :'tin' => :'String',
    :'box3_marital_status' => :'String',
    :'box4_last_name_differs' => :'Boolean',
    :'box5_num_allowances' => :'Integer',
    :'other_dependents' => :'Integer',
    :'non_job_income' => :'Float',
    :'deductions' => :'Float',
    :'box6_additional_withheld' => :'Float',
    :'box7_exempt_from_withholding' => :'Boolean',
    :'office_code' => :'String',
    :'e_delivery_consented_at' => :'Time',
    :'disregarded_entity_chapter4_fatca_status' => :'String',
    :'name' => :'String',
    :'residence_address' => :'String',
    :'residence_city' => :'String',
    :'residence_state' => :'String',
    :'residence_postal_code' => :'String',
    :'residence_country' => :'String',
    :'mailing_address' => :'String',
    :'mailing_city' => :'String',
    :'mailing_state' => :'String',
    :'mailing_postal_code' => :'String',
    :'mailing_country' => :'String',
    :'disregarded_address' => :'String',
    :'disregarded_city' => :'String',
    :'disregarded_state' => :'String',
    :'disregarded_postal_code' => :'String',
    :'disregarded_country' => :'String',
    :'foreign_tin' => :'String',
    :'ftin_not_required' => :'Boolean',
    :'reference_number' => :'String',
    :'giin' => :'String',
    :'chapter3_entity_type' => :'String',
    :'chapter4_fatca_status' => :'String',
    :'disregarded_entity' => :'String',
    :'disregarded_entity_giin' => :'String',
    :'benefit_limitation' => :'String',
    :'part4_sponsoring_entity' => :'String',
    :'part4_sponsoring_entity_giin' => :'String',
    :'part7_sponsoring_entity' => :'String',
    :'part12_iga_country' => :'String',
    :'part12_iga_type' => :'String',
    :'part12_fatca_status_under_iga_annex_ii' => :'String',
    :'part12_trustee_name' => :'String',
    :'part12_trustee_is_foreign' => :'Boolean',
    :'part12_model2_iga_giin' => :'String',
    :'box37_a_exchange' => :'String',
    :'box37_b_exchange' => :'String',
    :'box37_b_entity' => :'String',
    :'part28_sponsoring_entity' => :'String',
    :'part28_sponsoring_entity_giin' => :'String',
    :'signer_name' => :'String',
    :'residence_is_mailing' => :'Boolean',
    :'citizenship_country' => :'String',
    :'making_treaty_claim' => :'Boolean',
    :'treaty_country' => :'String',
    :'treaty_article' => :'String',
    :'withholding_rate' => :'String',
    :'income_type' => :'String',
    :'treaty_reasons' => :'String',
    :'certify_box14_a' => :'Boolean',
    :'certify_box14_b' => :'Boolean',
    :'certify_box14_c' => :'Boolean',
    :'certify_box17_1' => :'Boolean',
    :'certify_box17_2' => :'Boolean',
    :'certify_box18' => :'Boolean',
    :'certify_box19' => :'Boolean',
    :'certify_box21' => :'Boolean',
    :'certify_box22' => :'Boolean',
    :'certify_box23' => :'Boolean',
    :'certify_box24_a' => :'Boolean',
    :'certify_box24_b' => :'Boolean',
    :'certify_box24_c' => :'Boolean',
    :'certify_box24_d' => :'Boolean',
    :'certify_box25_a' => :'Boolean',
    :'certify_box25_b' => :'Boolean',
    :'certify_box25_c' => :'Boolean',
    :'certify_box26' => :'Boolean',
    :'certify_box27' => :'Boolean',
    :'certify_box28_a' => :'Boolean',
    :'certify_box28_b' => :'Boolean',
    :'certify_box29_a' => :'Boolean',
    :'certify_box29_b' => :'Boolean',
    :'certify_box29_c' => :'Boolean',
    :'certify_box29_d' => :'Boolean',
    :'certify_box29_e' => :'Boolean',
    :'certify_box29_f' => :'Boolean',
    :'certify_box30' => :'Boolean',
    :'certify_box31' => :'Boolean',
    :'certify_box32' => :'Boolean',
    :'certify_box33' => :'Boolean',
    :'certify_box34' => :'Boolean',
    :'certify_box35' => :'Boolean',
    :'certify_box36' => :'Boolean',
    :'certify_box37_a' => :'Boolean',
    :'certify_box37_b' => :'Boolean',
    :'certify_box38' => :'Boolean',
    :'certify_box39' => :'Boolean',
    :'certify_box40_a' => :'Boolean',
    :'certify_box40_b' => :'Boolean',
    :'certify_box40_c' => :'Boolean',
    :'certify_box41' => :'Boolean',
    :'certify_box43' => :'Boolean',
    :'certify_part29_signature' => :'Boolean',
    :'part19_formation_or_resolution_date' => :'Time',
    :'part20_filing_date' => :'Time',
    :'part21_determination_date' => :'Time',
    :'substantial_us_owners' => :'Array<W8BenESubstantialUsOwnerDataModel>',
    :'birthday' => :'String',
    :'foreign_tin_not_required' => :'Boolean',
    :'archived' => :'Boolean',
    :'reference_id' => :'String',
    :'company_id' => :'Integer',
    :'display_name' => :'String',
    :'email' => :'String',
    :'signer_capacity' => :'String',
    :'updated_at' => :'Time',
    :'ein' => :'String',
    :'ein_type' => :'String',
    :'certify_box14' => :'Boolean',
    :'certify_box15_a' => :'Boolean',
    :'certify_box15_b' => :'Boolean',
    :'certify_box15_c' => :'Boolean',
    :'certify_box15_d' => :'Boolean',
    :'certify_box15_e' => :'Boolean',
    :'certify_box15_f' => :'Boolean',
    :'certify_box15_g' => :'Boolean',
    :'certify_box15_h' => :'Boolean',
    :'certify_box15_i' => :'Boolean',
    :'certify_box16_a' => :'Boolean',
    :'box16_b_qdd_corporate' => :'Boolean',
    :'box16_b_qdd_partnership' => :'Boolean',
    :'box16_b_qdd_disregarded_entity' => :'Boolean',
    :'certify_box17_a' => :'Boolean',
    :'certify_box17_b' => :'Boolean',
    :'certify_box17_c' => :'Boolean',
    :'certify_box17_d' => :'Boolean',
    :'certify_box17_e' => :'Boolean',
    :'certify_box18_a' => :'Boolean',
    :'certify_box18_b' => :'Boolean',
    :'certify_box18_c' => :'Boolean',
    :'certify_box18_d' => :'Boolean',
    :'certify_box18_e' => :'Boolean',
    :'certify_box18_f' => :'Boolean',
    :'certify_box19_a' => :'Boolean',
    :'certify_box19_b' => :'Boolean',
    :'certify_box19_c' => :'Boolean',
    :'certify_box19_d' => :'Boolean',
    :'certify_box19_e' => :'Boolean',
    :'certify_box19_f' => :'Boolean',
    :'certify_box20' => :'Boolean',
    :'certify_box21_a' => :'Boolean',
    :'certify_box21_b' => :'Boolean',
    :'certify_box21_c' => :'Boolean',
    :'certify_box21_d' => :'Boolean',
    :'certify_box21_e' => :'Boolean',
    :'certify_box21_f' => :'Boolean',
    :'box23_a_name_sponsoring_entity' => :'String',
    :'certify_box23_b' => :'Boolean',
    :'certify_box23_c' => :'Boolean',
    :'certify_box25' => :'Boolean',
    :'box27_a_name_sponsoring_entity' => :'String',
    :'certify_box27_b' => :'Boolean',
    :'certify_box28' => :'Boolean',
    :'certify_box29' => :'Boolean',
    :'certify_box30_a' => :'Boolean',
    :'certify_box30_b' => :'Boolean',
    :'certify_box30_c' => :'Boolean',
    :'box32_iga_country' => :'String',
    :'box32_iga_type' => :'String',
    :'box32_iga_treated_as' => :'String',
    :'box32_trustee_or_sponsor' => :'String',
    :'box32_trustee_is_foreign' => :'Boolean',
    :'certify_box33_a' => :'Boolean',
    :'certify_box33_b' => :'Boolean',
    :'certify_box33_c' => :'Boolean',
    :'certify_box33_d' => :'Boolean',
    :'certify_box33_e' => :'Boolean',
    :'certify_box33_f' => :'Boolean',
    :'box37_a_securities_market' => :'String',
    :'box37_b_name_of_entity' => :'String',
    :'box37_b_securities_market' => :'String',
    :'certify_box40' => :'Boolean',
    :'box41_sponsoring_entity' => :'String',
    :'certify_box42' => :'Boolean',
    :'box35_formed_on_date' => :'Time',
    :'box36_filed_on_date' => :'Time',
    :'tin_match_status' => :'String',
    :'signature' => :'String',
    :'business_classification' => :'String',
    :'business_name' => :'String',
    :'business_other' => :'String',
    :'exempt_payee_code' => :'String',
    :'exempt_fatca_code' => :'String',
    :'account_number' => :'String',
    :'foreign_country_indicator' => :'Boolean',
    :'foreign_address' => :'String',
    :'backup_withholding' => :'Boolean',
    :'is1099able' => :'Boolean',
    :'foreign_partner_owner_or_beneficiary' => :'Boolean'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2100

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      signed_date == o.signed_date &&
      created_at == o.created_at &&
      employee_first_name == o.employee_first_name &&
      employee_middle_name == o.employee_middle_name &&
      employee_last_name == o.employee_last_name &&
      employee_name_suffix == o.employee_name_suffix &&
      address == o.address &&
      city == o.city &&
      state == o.state &&
      zip == o.zip &&
      type_of_tin == o.type_of_tin &&
      tin == o.tin &&
      box3_marital_status == o.box3_marital_status &&
      box4_last_name_differs == o.box4_last_name_differs &&
      box5_num_allowances == o.box5_num_allowances &&
      other_dependents == o.other_dependents &&
      non_job_income == o.non_job_income &&
      deductions == o.deductions &&
      box6_additional_withheld == o.box6_additional_withheld &&
      box7_exempt_from_withholding == o.box7_exempt_from_withholding &&
      office_code == o.office_code &&
      e_delivery_consented_at == o.e_delivery_consented_at &&
      disregarded_entity_chapter4_fatca_status == o.disregarded_entity_chapter4_fatca_status &&
      name == o.name &&
      residence_address == o.residence_address &&
      residence_city == o.residence_city &&
      residence_state == o.residence_state &&
      residence_postal_code == o.residence_postal_code &&
      residence_country == o.residence_country &&
      mailing_address == o.mailing_address &&
      mailing_city == o.mailing_city &&
      mailing_state == o.mailing_state &&
      mailing_postal_code == o.mailing_postal_code &&
      mailing_country == o.mailing_country &&
      disregarded_address == o.disregarded_address &&
      disregarded_city == o.disregarded_city &&
      disregarded_state == o.disregarded_state &&
      disregarded_postal_code == o.disregarded_postal_code &&
      disregarded_country == o.disregarded_country &&
      foreign_tin == o.foreign_tin &&
      ftin_not_required == o.ftin_not_required &&
      reference_number == o.reference_number &&
      giin == o.giin &&
      chapter3_entity_type == o.chapter3_entity_type &&
      chapter4_fatca_status == o.chapter4_fatca_status &&
      disregarded_entity == o.disregarded_entity &&
      disregarded_entity_giin == o.disregarded_entity_giin &&
      benefit_limitation == o.benefit_limitation &&
      part4_sponsoring_entity == o.part4_sponsoring_entity &&
      part4_sponsoring_entity_giin == o.part4_sponsoring_entity_giin &&
      part7_sponsoring_entity == o.part7_sponsoring_entity &&
      part12_iga_country == o.part12_iga_country &&
      part12_iga_type == o.part12_iga_type &&
      part12_fatca_status_under_iga_annex_ii == o.part12_fatca_status_under_iga_annex_ii &&
      part12_trustee_name == o.part12_trustee_name &&
      part12_trustee_is_foreign == o.part12_trustee_is_foreign &&
      part12_model2_iga_giin == o.part12_model2_iga_giin &&
      box37_a_exchange == o.box37_a_exchange &&
      box37_b_exchange == o.box37_b_exchange &&
      box37_b_entity == o.box37_b_entity &&
      part28_sponsoring_entity == o.part28_sponsoring_entity &&
      part28_sponsoring_entity_giin == o.part28_sponsoring_entity_giin &&
      signer_name == o.signer_name &&
      residence_is_mailing == o.residence_is_mailing &&
      citizenship_country == o.citizenship_country &&
      making_treaty_claim == o.making_treaty_claim &&
      treaty_country == o.treaty_country &&
      treaty_article == o.treaty_article &&
      withholding_rate == o.withholding_rate &&
      income_type == o.income_type &&
      treaty_reasons == o.treaty_reasons &&
      certify_box14_a == o.certify_box14_a &&
      certify_box14_b == o.certify_box14_b &&
      certify_box14_c == o.certify_box14_c &&
      certify_box17_1 == o.certify_box17_1 &&
      certify_box17_2 == o.certify_box17_2 &&
      certify_box18 == o.certify_box18 &&
      certify_box19 == o.certify_box19 &&
      certify_box21 == o.certify_box21 &&
      certify_box22 == o.certify_box22 &&
      certify_box23 == o.certify_box23 &&
      certify_box24_a == o.certify_box24_a &&
      certify_box24_b == o.certify_box24_b &&
      certify_box24_c == o.certify_box24_c &&
      certify_box24_d == o.certify_box24_d &&
      certify_box25_a == o.certify_box25_a &&
      certify_box25_b == o.certify_box25_b &&
      certify_box25_c == o.certify_box25_c &&
      certify_box26 == o.certify_box26 &&
      certify_box27 == o.certify_box27 &&
      certify_box28_a == o.certify_box28_a &&
      certify_box28_b == o.certify_box28_b &&
      certify_box29_a == o.certify_box29_a &&
      certify_box29_b == o.certify_box29_b &&
      certify_box29_c == o.certify_box29_c &&
      certify_box29_d == o.certify_box29_d &&
      certify_box29_e == o.certify_box29_e &&
      certify_box29_f == o.certify_box29_f &&
      certify_box30 == o.certify_box30 &&
      certify_box31 == o.certify_box31 &&
      certify_box32 == o.certify_box32 &&
      certify_box33 == o.certify_box33 &&
      certify_box34 == o.certify_box34 &&
      certify_box35 == o.certify_box35 &&
      certify_box36 == o.certify_box36 &&
      certify_box37_a == o.certify_box37_a &&
      certify_box37_b == o.certify_box37_b &&
      certify_box38 == o.certify_box38 &&
      certify_box39 == o.certify_box39 &&
      certify_box40_a == o.certify_box40_a &&
      certify_box40_b == o.certify_box40_b &&
      certify_box40_c == o.certify_box40_c &&
      certify_box41 == o.certify_box41 &&
      certify_box43 == o.certify_box43 &&
      certify_part29_signature == o.certify_part29_signature &&
      part19_formation_or_resolution_date == o.part19_formation_or_resolution_date &&
      part20_filing_date == o.part20_filing_date &&
      part21_determination_date == o.part21_determination_date &&
      substantial_us_owners == o.substantial_us_owners &&
      birthday == o.birthday &&
      foreign_tin_not_required == o.foreign_tin_not_required &&
      archived == o.archived &&
      reference_id == o.reference_id &&
      company_id == o.company_id &&
      display_name == o.display_name &&
      email == o.email &&
      signer_capacity == o.signer_capacity &&
      updated_at == o.updated_at &&
      ein == o.ein &&
      ein_type == o.ein_type &&
      certify_box14 == o.certify_box14 &&
      certify_box15_a == o.certify_box15_a &&
      certify_box15_b == o.certify_box15_b &&
      certify_box15_c == o.certify_box15_c &&
      certify_box15_d == o.certify_box15_d &&
      certify_box15_e == o.certify_box15_e &&
      certify_box15_f == o.certify_box15_f &&
      certify_box15_g == o.certify_box15_g &&
      certify_box15_h == o.certify_box15_h &&
      certify_box15_i == o.certify_box15_i &&
      certify_box16_a == o.certify_box16_a &&
      box16_b_qdd_corporate == o.box16_b_qdd_corporate &&
      box16_b_qdd_partnership == o.box16_b_qdd_partnership &&
      box16_b_qdd_disregarded_entity == o.box16_b_qdd_disregarded_entity &&
      certify_box17_a == o.certify_box17_a &&
      certify_box17_b == o.certify_box17_b &&
      certify_box17_c == o.certify_box17_c &&
      certify_box17_d == o.certify_box17_d &&
      certify_box17_e == o.certify_box17_e &&
      certify_box18_a == o.certify_box18_a &&
      certify_box18_b == o.certify_box18_b &&
      certify_box18_c == o.certify_box18_c &&
      certify_box18_d == o.certify_box18_d &&
      certify_box18_e == o.certify_box18_e &&
      certify_box18_f == o.certify_box18_f &&
      certify_box19_a == o.certify_box19_a &&
      certify_box19_b == o.certify_box19_b &&
      certify_box19_c == o.certify_box19_c &&
      certify_box19_d == o.certify_box19_d &&
      certify_box19_e == o.certify_box19_e &&
      certify_box19_f == o.certify_box19_f &&
      certify_box20 == o.certify_box20 &&
      certify_box21_a == o.certify_box21_a &&
      certify_box21_b == o.certify_box21_b &&
      certify_box21_c == o.certify_box21_c &&
      certify_box21_d == o.certify_box21_d &&
      certify_box21_e == o.certify_box21_e &&
      certify_box21_f == o.certify_box21_f &&
      box23_a_name_sponsoring_entity == o.box23_a_name_sponsoring_entity &&
      certify_box23_b == o.certify_box23_b &&
      certify_box23_c == o.certify_box23_c &&
      certify_box25 == o.certify_box25 &&
      box27_a_name_sponsoring_entity == o.box27_a_name_sponsoring_entity &&
      certify_box27_b == o.certify_box27_b &&
      certify_box28 == o.certify_box28 &&
      certify_box29 == o.certify_box29 &&
      certify_box30_a == o.certify_box30_a &&
      certify_box30_b == o.certify_box30_b &&
      certify_box30_c == o.certify_box30_c &&
      box32_iga_country == o.box32_iga_country &&
      box32_iga_type == o.box32_iga_type &&
      box32_iga_treated_as == o.box32_iga_treated_as &&
      box32_trustee_or_sponsor == o.box32_trustee_or_sponsor &&
      box32_trustee_is_foreign == o.box32_trustee_is_foreign &&
      certify_box33_a == o.certify_box33_a &&
      certify_box33_b == o.certify_box33_b &&
      certify_box33_c == o.certify_box33_c &&
      certify_box33_d == o.certify_box33_d &&
      certify_box33_e == o.certify_box33_e &&
      certify_box33_f == o.certify_box33_f &&
      box37_a_securities_market == o.box37_a_securities_market &&
      box37_b_name_of_entity == o.box37_b_name_of_entity &&
      box37_b_securities_market == o.box37_b_securities_market &&
      certify_box40 == o.certify_box40 &&
      box41_sponsoring_entity == o.box41_sponsoring_entity &&
      certify_box42 == o.certify_box42 &&
      box35_formed_on_date == o.box35_formed_on_date &&
      box36_filed_on_date == o.box36_filed_on_date &&
      tin_match_status == o.tin_match_status &&
      signature == o.signature &&
      business_classification == o.business_classification &&
      business_name == o.business_name &&
      business_other == o.business_other &&
      exempt_payee_code == o.exempt_payee_code &&
      exempt_fatca_code == o.exempt_fatca_code &&
       == o. &&
      foreign_country_indicator == o.foreign_country_indicator &&
      foreign_address == o.foreign_address &&
      backup_withholding == o.backup_withholding &&
      is1099able == o.is1099able &&
      foreign_partner_owner_or_beneficiary == o.foreign_partner_owner_or_beneficiary
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2427

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


2319
2320
2321
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2319

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



2325
2326
2327
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2325

def hash
  [type, signed_date, created_at, employee_first_name, employee_middle_name, employee_last_name, employee_name_suffix, address, city, state, zip, type_of_tin, tin, box3_marital_status, box4_last_name_differs, box5_num_allowances, other_dependents, non_job_income, deductions, box6_additional_withheld, box7_exempt_from_withholding, office_code, e_delivery_consented_at, disregarded_entity_chapter4_fatca_status, name, residence_address, residence_city, residence_state, residence_postal_code, residence_country, mailing_address, mailing_city, mailing_state, mailing_postal_code, mailing_country, disregarded_address, disregarded_city, disregarded_state, disregarded_postal_code, disregarded_country, foreign_tin, ftin_not_required, reference_number, giin, chapter3_entity_type, chapter4_fatca_status, disregarded_entity, disregarded_entity_giin, benefit_limitation, part4_sponsoring_entity, part4_sponsoring_entity_giin, part7_sponsoring_entity, part12_iga_country, part12_iga_type, part12_fatca_status_under_iga_annex_ii, part12_trustee_name, part12_trustee_is_foreign, part12_model2_iga_giin, box37_a_exchange, box37_b_exchange, box37_b_entity, part28_sponsoring_entity, part28_sponsoring_entity_giin, signer_name, residence_is_mailing, citizenship_country, making_treaty_claim, treaty_country, treaty_article, withholding_rate, income_type, treaty_reasons, certify_box14_a, certify_box14_b, certify_box14_c, certify_box17_1, certify_box17_2, certify_box18, certify_box19, certify_box21, certify_box22, certify_box23, certify_box24_a, certify_box24_b, certify_box24_c, certify_box24_d, certify_box25_a, certify_box25_b, certify_box25_c, certify_box26, certify_box27, certify_box28_a, certify_box28_b, certify_box29_a, certify_box29_b, certify_box29_c, certify_box29_d, certify_box29_e, certify_box29_f, certify_box30, certify_box31, certify_box32, certify_box33, certify_box34, certify_box35, certify_box36, certify_box37_a, certify_box37_b, certify_box38, certify_box39, certify_box40_a, certify_box40_b, certify_box40_c, certify_box41, certify_box43, certify_part29_signature, part19_formation_or_resolution_date, part20_filing_date, part21_determination_date, substantial_us_owners, birthday, foreign_tin_not_required, archived, reference_id, company_id, display_name, email, signer_capacity, updated_at, ein, ein_type, certify_box14, certify_box15_a, certify_box15_b, certify_box15_c, certify_box15_d, certify_box15_e, certify_box15_f, certify_box15_g, certify_box15_h, certify_box15_i, certify_box16_a, box16_b_qdd_corporate, box16_b_qdd_partnership, box16_b_qdd_disregarded_entity, certify_box17_a, certify_box17_b, certify_box17_c, certify_box17_d, certify_box17_e, certify_box18_a, certify_box18_b, certify_box18_c, certify_box18_d, certify_box18_e, certify_box18_f, certify_box19_a, certify_box19_b, certify_box19_c, certify_box19_d, certify_box19_e, certify_box19_f, certify_box20, certify_box21_a, certify_box21_b, certify_box21_c, certify_box21_d, certify_box21_e, certify_box21_f, box23_a_name_sponsoring_entity, certify_box23_b, certify_box23_c, certify_box25, box27_a_name_sponsoring_entity, certify_box27_b, certify_box28, certify_box29, certify_box30_a, certify_box30_b, certify_box30_c, box32_iga_country, box32_iga_type, box32_iga_treated_as, box32_trustee_or_sponsor, box32_trustee_is_foreign, certify_box33_a, certify_box33_b, certify_box33_c, certify_box33_d, certify_box33_e, certify_box33_f, box37_a_securities_market, box37_b_name_of_entity, box37_b_securities_market, certify_box40, box41_sponsoring_entity, certify_box42, box35_formed_on_date, box36_filed_on_date, tin_match_status, signature, business_classification, business_name, business_other, exempt_payee_code, exempt_fatca_code, , foreign_country_indicator, foreign_address, backup_withholding, is1099able, foreign_partner_owner_or_beneficiary].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



2063
2064
2065
2066
2067
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2063

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



2403
2404
2405
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2403

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2409

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



2397
2398
2399
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2397

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



2071
2072
2073
2074
2075
2076
# File 'lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb', line 2071

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  type_validator = EnumAttributeValidator.new('String', ["w9", "w4", "w8imy", "w8ben", "w8bene"])
  return false unless type_validator.valid?(@type)
  true
end