Class: AvalaraSdk::A1099::V2::W8BenFormDataModel
- Inherits:
-
Object
- Object
- AvalaraSdk::A1099::V2::W8BenFormDataModel
- Defined in:
- lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb
Overview
W-8 BEN form
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#account_number ⇒ Object
The account number associated with the form.
-
#address ⇒ Object
The address of the individual or entity.
-
#archived ⇒ Object
Indicates whether the form is archived.
-
#backup_withholding ⇒ Object
Indicates whether backup withholding applies.
-
#benefit_limitation ⇒ Object
The benefit limitation for tax treaty claims.
-
#birthday ⇒ Object
The birthday of the individual associated with the form.
-
#box16_b_qdd_corporate ⇒ Object
Indicates certification for box 16B as a QDD corporate entity.
-
#box16_b_qdd_disregarded_entity ⇒ Object
Indicates certification for box 16B as a QDD disregarded entity.
-
#box16_b_qdd_partnership ⇒ Object
Indicates certification for box 16B as a QDD partnership.
-
#box23_a_name_sponsoring_entity ⇒ Object
The name of the sponsoring entity for box 23A.
-
#box27_a_name_sponsoring_entity ⇒ Object
The name of the sponsoring entity for box 27A.
-
#box32_iga_country ⇒ Object
The IGA country information for box 32.
-
#box32_iga_treated_as ⇒ Object
The IGA treatment information for box 32.
-
#box32_iga_type ⇒ Object
The IGA type information for box 32.
-
#box32_trustee_is_foreign ⇒ Object
Indicates whether the trustee is foreign for box 32.
-
#box32_trustee_or_sponsor ⇒ Object
The trustee or sponsor information for box 32.
-
#box35_formed_on_date ⇒ Object
Returns the value of attribute box35_formed_on_date.
-
#box36_filed_on_date ⇒ Object
Returns the value of attribute box36_filed_on_date.
-
#box37_a_exchange ⇒ Object
The exchange information for Box 37A.
-
#box37_a_securities_market ⇒ Object
The securities market information for box 37A.
-
#box37_b_entity ⇒ Object
The entity information for Box 37B.
-
#box37_b_exchange ⇒ Object
The exchange information for Box 37B.
-
#box37_b_name_of_entity ⇒ Object
The name of the entity for box 37B.
-
#box37_b_securities_market ⇒ Object
The securities market information for box 37B.
-
#box3_marital_status ⇒ Object
The marital status of the employee.
-
#box41_sponsoring_entity ⇒ Object
The sponsoring entity information for box 41.
-
#box4_last_name_differs ⇒ Object
Indicates whether the last name differs from prior records.
-
#box5_num_allowances ⇒ Object
The number of allowances claimed by the employee.
-
#box6_additional_withheld ⇒ Object
The additional amount withheld.
-
#box7_exempt_from_withholding ⇒ Object
Indicates whether the employee is exempt from withholding.
-
#business_classification ⇒ Object
The classification of the business.
-
#business_name ⇒ Object
The name of the business associated with the form.
-
#business_other ⇒ Object
Returns the value of attribute business_other.
-
#certify_box14 ⇒ Object
Indicates certification for box 14.
-
#certify_box14_a ⇒ Object
Returns the value of attribute certify_box14_a.
-
#certify_box14_b ⇒ Object
Returns the value of attribute certify_box14_b.
-
#certify_box14_c ⇒ Object
Returns the value of attribute certify_box14_c.
-
#certify_box15_a ⇒ Object
Indicates certification for box 15A.
-
#certify_box15_b ⇒ Object
Indicates certification for box 15B.
-
#certify_box15_c ⇒ Object
Indicates certification for box 15C.
-
#certify_box15_d ⇒ Object
Indicates certification for box 15D.
-
#certify_box15_e ⇒ Object
Indicates certification for box 15E.
-
#certify_box15_f ⇒ Object
Indicates certification for box 15F.
-
#certify_box15_g ⇒ Object
Indicates certification for box 15G.
-
#certify_box15_h ⇒ Object
Indicates certification for box 15H.
-
#certify_box15_i ⇒ Object
Indicates certification for box 15I.
-
#certify_box16_a ⇒ Object
Indicates certification for box 16A.
-
#certify_box17_1 ⇒ Object
Returns the value of attribute certify_box17_1.
-
#certify_box17_2 ⇒ Object
Returns the value of attribute certify_box17_2.
-
#certify_box17_a ⇒ Object
Indicates certification for box 17A.
-
#certify_box17_b ⇒ Object
Indicates certification for box 17B.
-
#certify_box17_c ⇒ Object
Indicates certification for box 17C.
-
#certify_box17_d ⇒ Object
Indicates certification for box 17D.
-
#certify_box17_e ⇒ Object
Indicates certification for box 17E.
-
#certify_box18 ⇒ Object
Returns the value of attribute certify_box18.
-
#certify_box18_a ⇒ Object
Indicates certification for box 18A.
-
#certify_box18_b ⇒ Object
Indicates certification for box 18B.
-
#certify_box18_c ⇒ Object
Indicates certification for box 18C.
-
#certify_box18_d ⇒ Object
Indicates certification for box 18D.
-
#certify_box18_e ⇒ Object
Indicates certification for box 18E.
-
#certify_box18_f ⇒ Object
Indicates certification for box 18F.
-
#certify_box19 ⇒ Object
Returns the value of attribute certify_box19.
-
#certify_box19_a ⇒ Object
Indicates certification for box 19A.
-
#certify_box19_b ⇒ Object
Indicates certification for box 19B.
-
#certify_box19_c ⇒ Object
Indicates certification for box 19C.
-
#certify_box19_d ⇒ Object
Indicates certification for box 19D.
-
#certify_box19_e ⇒ Object
Indicates certification for box 19E.
-
#certify_box19_f ⇒ Object
Indicates certification for box 19F.
-
#certify_box20 ⇒ Object
Indicates certification for box 20.
-
#certify_box21 ⇒ Object
Returns the value of attribute certify_box21.
-
#certify_box21_a ⇒ Object
Indicates certification for box 21A.
-
#certify_box21_b ⇒ Object
Indicates certification for box 21B.
-
#certify_box21_c ⇒ Object
Indicates certification for box 21C.
-
#certify_box21_d ⇒ Object
Indicates certification for box 21D.
-
#certify_box21_e ⇒ Object
Indicates certification for box 21E.
-
#certify_box21_f ⇒ Object
Indicates certification for box 21F.
-
#certify_box22 ⇒ Object
Indicates certification for box 22.
-
#certify_box23 ⇒ Object
Returns the value of attribute certify_box23.
-
#certify_box23_b ⇒ Object
Indicates certification for box 23B.
-
#certify_box23_c ⇒ Object
Indicates certification for box 23C.
-
#certify_box24_a ⇒ Object
Indicates certification for box 24A.
-
#certify_box24_b ⇒ Object
Indicates certification for box 24B.
-
#certify_box24_c ⇒ Object
Indicates certification for box 24C.
-
#certify_box24_d ⇒ Object
Returns the value of attribute certify_box24_d.
-
#certify_box25 ⇒ Object
Indicates certification for box 25.
-
#certify_box25_a ⇒ Object
Returns the value of attribute certify_box25_a.
-
#certify_box25_b ⇒ Object
Returns the value of attribute certify_box25_b.
-
#certify_box25_c ⇒ Object
Returns the value of attribute certify_box25_c.
-
#certify_box26 ⇒ Object
Indicates certification for box 26.
-
#certify_box27 ⇒ Object
Returns the value of attribute certify_box27.
-
#certify_box27_b ⇒ Object
Indicates certification for box 27B.
-
#certify_box28 ⇒ Object
Indicates certification for box 28.
-
#certify_box28_a ⇒ Object
Returns the value of attribute certify_box28_a.
-
#certify_box28_b ⇒ Object
Returns the value of attribute certify_box28_b.
-
#certify_box29 ⇒ Object
Indicates certification for box 29.
-
#certify_box29_a ⇒ Object
Returns the value of attribute certify_box29_a.
-
#certify_box29_b ⇒ Object
Returns the value of attribute certify_box29_b.
-
#certify_box29_c ⇒ Object
Returns the value of attribute certify_box29_c.
-
#certify_box29_d ⇒ Object
Returns the value of attribute certify_box29_d.
-
#certify_box29_e ⇒ Object
Returns the value of attribute certify_box29_e.
-
#certify_box29_f ⇒ Object
Returns the value of attribute certify_box29_f.
-
#certify_box30 ⇒ Object
Returns the value of attribute certify_box30.
-
#certify_box30_a ⇒ Object
Indicates certification for box 30A.
-
#certify_box30_b ⇒ Object
Indicates certification for box 30B.
-
#certify_box30_c ⇒ Object
Indicates certification for box 30C.
-
#certify_box31 ⇒ Object
Indicates certification for box 31.
-
#certify_box32 ⇒ Object
Indicates certification for box 32.
-
#certify_box33 ⇒ Object
Returns the value of attribute certify_box33.
-
#certify_box33_a ⇒ Object
Indicates certification for box 33A.
-
#certify_box33_b ⇒ Object
Indicates certification for box 33B.
-
#certify_box33_c ⇒ Object
Indicates certification for box 33C.
-
#certify_box33_d ⇒ Object
Indicates certification for box 33D.
-
#certify_box33_e ⇒ Object
Indicates certification for box 33E.
-
#certify_box33_f ⇒ Object
Indicates certification for box 33F.
-
#certify_box34 ⇒ Object
Indicates certification for box 34.
-
#certify_box35 ⇒ Object
Indicates certification for box 35.
-
#certify_box36 ⇒ Object
Indicates certification for box 36.
-
#certify_box37_a ⇒ Object
Indicates certification for box 37A.
-
#certify_box37_b ⇒ Object
Indicates certification for box 37B.
-
#certify_box38 ⇒ Object
Indicates certification for box 38.
-
#certify_box39 ⇒ Object
Indicates certification for box 39.
-
#certify_box40 ⇒ Object
Indicates certification for box 40.
-
#certify_box40_a ⇒ Object
Returns the value of attribute certify_box40_a.
-
#certify_box40_b ⇒ Object
Returns the value of attribute certify_box40_b.
-
#certify_box40_c ⇒ Object
Returns the value of attribute certify_box40_c.
-
#certify_box41 ⇒ Object
Returns the value of attribute certify_box41.
-
#certify_box42 ⇒ Object
Indicates certification for box 42.
-
#certify_box43 ⇒ Object
Returns the value of attribute certify_box43.
-
#certify_part29_signature ⇒ Object
Returns the value of attribute certify_part29_signature.
-
#chapter3_entity_type ⇒ Object
The Chapter 3 entity type.
-
#chapter4_fatca_status ⇒ Object
The Chapter 4 FATCA status.
-
#citizenship_country ⇒ Object
The country of citizenship.
-
#city ⇒ Object
The city of the address.
-
#company_id ⇒ Object
The ID of the associated company.
-
#created_at ⇒ Object
The creation date of the form.
-
#deductions ⇒ Object
The amount of deductions claimed.
-
#display_name ⇒ Object
The display name associated with the form.
-
#disregarded_address ⇒ Object
The address for disregarded entities.
-
#disregarded_city ⇒ Object
The city for disregarded entities.
-
#disregarded_country ⇒ Object
The country for disregarded entities.
-
#disregarded_entity ⇒ Object
The disregarded entity information.
-
#disregarded_entity_chapter4_fatca_status ⇒ Object
The FATCA status for disregarded entities under Chapter 4.
-
#disregarded_entity_giin ⇒ Object
The GIIN for disregarded entities.
-
#disregarded_postal_code ⇒ Object
The postal code for disregarded entities.
-
#disregarded_state ⇒ Object
The state for disregarded entities.
-
#e_delivery_consented_at ⇒ Object
The date when e-delivery was consented.
-
#ein ⇒ Object
The employer identification number (EIN).
-
#ein_type ⇒ Object
The type of employer identification number (EIN).
-
#email ⇒ Object
The email address of the individual associated with the form.
-
#employee_first_name ⇒ Object
The first name of the employee.
-
#employee_last_name ⇒ Object
The last name of the employee.
-
#employee_middle_name ⇒ Object
The middle name of the employee.
-
#employee_name_suffix ⇒ Object
The name suffix of the employee.
-
#exempt_fatca_code ⇒ Object
Returns the value of attribute exempt_fatca_code.
-
#exempt_payee_code ⇒ Object
Returns the value of attribute exempt_payee_code.
-
#foreign_address ⇒ Object
The foreign address of the individual or entity.
-
#foreign_country_indicator ⇒ Object
Indicates whether the individual or entity is in a foreign country.
-
#foreign_partner_owner_or_beneficiary ⇒ Object
Indicates whether the individual is a foreign partner, owner, or beneficiary.
-
#foreign_tin ⇒ Object
The foreign taxpayer identification number (TIN).
-
#foreign_tin_not_required ⇒ Object
Indicates whether a foreign TIN is not required.
-
#ftin_not_required ⇒ Object
Indicates whether a foreign TIN is not required.
-
#giin ⇒ Object
The global intermediary identification number (GIIN).
-
#income_type ⇒ Object
The type of income covered by the treaty.
-
#is1099able ⇒ Object
Returns the value of attribute is1099able.
-
#mailing_address ⇒ Object
The mailing address.
-
#mailing_city ⇒ Object
The city of the mailing address.
-
#mailing_country ⇒ Object
The country of the mailing address.
-
#mailing_postal_code ⇒ Object
The postal code of the mailing address.
-
#mailing_state ⇒ Object
The state of the mailing address.
-
#making_treaty_claim ⇒ Object
Returns the value of attribute making_treaty_claim.
-
#name ⇒ Object
The name of the individual or entity associated with the form.
-
#non_job_income ⇒ Object
The amount of non-job income.
-
#office_code ⇒ Object
The office code associated with the form.
-
#other_dependents ⇒ Object
The number of dependents other than allowances.
-
#part12_fatca_status_under_iga_annex_ii ⇒ Object
The FATCA status under IGA Annex II for Part 12.
-
#part12_iga_country ⇒ Object
The IGA country information for Part 12.
-
#part12_iga_type ⇒ Object
The IGA type information for Part 12.
-
#part12_model2_iga_giin ⇒ Object
The GIIN for Model 2 IGA in Part 12.
-
#part12_trustee_is_foreign ⇒ Object
Indicates whether the trustee is foreign for Part 12.
-
#part12_trustee_name ⇒ Object
The trustee name for Part 12.
-
#part19_formation_or_resolution_date ⇒ Object
Returns the value of attribute part19_formation_or_resolution_date.
-
#part20_filing_date ⇒ Object
Returns the value of attribute part20_filing_date.
-
#part21_determination_date ⇒ Object
Returns the value of attribute part21_determination_date.
-
#part28_sponsoring_entity ⇒ Object
The sponsoring entity information for Part 28.
-
#part28_sponsoring_entity_giin ⇒ Object
The GIIN for the sponsoring entity in Part 28.
-
#part4_sponsoring_entity ⇒ Object
The sponsoring entity information for Part 4.
-
#part4_sponsoring_entity_giin ⇒ Object
The GIIN for the sponsoring entity in Part 4.
-
#part7_sponsoring_entity ⇒ Object
The sponsoring entity information for Part 7.
-
#reference_id ⇒ Object
A reference identifier for the form.
-
#reference_number ⇒ Object
A reference number for the form.
-
#residence_address ⇒ Object
The residential address of the individual or entity.
-
#residence_city ⇒ Object
The city of residence.
-
#residence_country ⇒ Object
The country of residence.
-
#residence_is_mailing ⇒ Object
Returns the value of attribute residence_is_mailing.
-
#residence_postal_code ⇒ Object
The postal code of the residence.
-
#residence_state ⇒ Object
The state of residence.
-
#signature ⇒ Object
The signature itself.
-
#signed_date ⇒ Object
The date the form was signed.
-
#signer_capacity ⇒ Object
The capacity in which the signer is signing the form.
-
#signer_name ⇒ Object
The name of the signer of the form.
-
#state ⇒ Object
The state of the address.
-
#substantial_us_owners ⇒ Object
Returns the value of attribute substantial_us_owners.
-
#tin ⇒ Object
The taxpayer identification number (TIN).
-
#tin_match_status ⇒ Object
The status of the TIN match.
-
#treaty_article ⇒ Object
The specific article of the treaty being claimed.
-
#treaty_country ⇒ Object
The country for which the treaty applies.
-
#treaty_reasons ⇒ Object
The reasons for claiming treaty benefits.
-
#type ⇒ Object
Type of the form, always W8ben for this model.
-
#type_of_tin ⇒ Object
The type of TIN provided.
-
#updated_at ⇒ Object
The last updated date of the form.
-
#withholding_rate ⇒ Object
The withholding rate applied as per the treaty.
-
#zip ⇒ Object
The ZIP code of the address.
Class Method Summary collapse
-
._deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_all_of ⇒ Object
List of class defined in allOf (OpenAPI v3).
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ W8BenFormDataModel
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ W8BenFormDataModel
Initializes the object
1196 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 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 1196 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::W8BenFormDataModel` 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::W8BenFormDataModel`. 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?(:'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?(:'type_of_tin') self.type_of_tin = attributes[:'type_of_tin'] 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?(:'residence_is_mailing') self.residence_is_mailing = attributes[:'residence_is_mailing'] 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?(:'tin') self.tin = attributes[:'tin'] end if attributes.key?(:'foreign_tin') self.foreign_tin = attributes[:'foreign_tin'] end if attributes.key?(:'reference_number') self.reference_number = attributes[:'reference_number'] end if attributes.key?(:'citizenship_country') self.citizenship_country = attributes[:'citizenship_country'] 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?(:'signer_name') self.signer_name = attributes[:'signer_name'] end if attributes.key?(:'signer_capacity') self.signer_capacity = attributes[:'signer_capacity'] end if attributes.key?(:'e_delivery_consented_at') self. = attributes[:'e_delivery_consented_at'] end if attributes.key?(:'created_at') self.created_at = attributes[:'created_at'] end if attributes.key?(:'updated_at') self.updated_at = attributes[:'updated_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?(:'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?(:'disregarded_entity_chapter4_fatca_status') self.disregarded_entity_chapter4_fatca_status = attributes[:'disregarded_entity_chapter4_fatca_status'] 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?(:'ftin_not_required') self.ftin_not_required = attributes[:'ftin_not_required'] 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?(:'making_treaty_claim') self.making_treaty_claim = attributes[:'making_treaty_claim'] 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?(:'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.account_number = 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_number ⇒ Object
The account number associated with the form.
593 594 595 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 593 def account_number @account_number end |
#address ⇒ Object
The address of the individual or entity.
135 136 137 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 135 def address @address end |
#archived ⇒ Object
Indicates whether the form is archived.
28 29 30 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 28 def archived @archived end |
#backup_withholding ⇒ Object
Indicates whether backup withholding applies.
602 603 604 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 602 def backup_withholding @backup_withholding end |
#benefit_limitation ⇒ Object
The benefit limitation for tax treaty claims.
210 211 212 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 210 def benefit_limitation @benefit_limitation end |
#birthday ⇒ Object
The birthday of the individual associated with the form.
22 23 24 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 22 def birthday @birthday end |
#box16_b_qdd_corporate ⇒ Object
Indicates certification for box 16B as a QDD corporate entity.
406 407 408 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 406 def box16_b_qdd_corporate @box16_b_qdd_corporate end |
#box16_b_qdd_disregarded_entity ⇒ Object
Indicates certification for box 16B as a QDD disregarded entity.
412 413 414 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 412 def box16_b_qdd_disregarded_entity @box16_b_qdd_disregarded_entity end |
#box16_b_qdd_partnership ⇒ Object
Indicates certification for box 16B as a QDD partnership.
409 410 411 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 409 def box16_b_qdd_partnership @box16_b_qdd_partnership end |
#box23_a_name_sponsoring_entity ⇒ Object
The name of the sponsoring entity for box 23A.
487 488 489 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 487 def box23_a_name_sponsoring_entity @box23_a_name_sponsoring_entity end |
#box27_a_name_sponsoring_entity ⇒ Object
The name of the sponsoring entity for box 27A.
499 500 501 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 499 def box27_a_name_sponsoring_entity @box27_a_name_sponsoring_entity end |
#box32_iga_country ⇒ Object
The IGA country information for box 32.
520 521 522 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 520 def box32_iga_country @box32_iga_country end |
#box32_iga_treated_as ⇒ Object
The IGA treatment information for box 32.
526 527 528 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 526 def box32_iga_treated_as @box32_iga_treated_as end |
#box32_iga_type ⇒ Object
The IGA type information for box 32.
523 524 525 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 523 def box32_iga_type @box32_iga_type end |
#box32_trustee_is_foreign ⇒ Object
Indicates whether the trustee is foreign for box 32.
532 533 534 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 532 def box32_trustee_is_foreign @box32_trustee_is_foreign end |
#box32_trustee_or_sponsor ⇒ Object
The trustee or sponsor information for box 32.
529 530 531 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 529 def box32_trustee_or_sponsor @box32_trustee_or_sponsor end |
#box35_formed_on_date ⇒ Object
Returns the value of attribute box35_formed_on_date.
570 571 572 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 570 def box35_formed_on_date @box35_formed_on_date end |
#box36_filed_on_date ⇒ Object
Returns the value of attribute box36_filed_on_date.
572 573 574 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 572 def box36_filed_on_date @box36_filed_on_date end |
#box37_a_exchange ⇒ Object
The exchange information for Box 37A.
240 241 242 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 240 def box37_a_exchange @box37_a_exchange end |
#box37_a_securities_market ⇒ Object
The securities market information for box 37A.
553 554 555 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 553 def box37_a_securities_market @box37_a_securities_market end |
#box37_b_entity ⇒ Object
The entity information for Box 37B.
246 247 248 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 246 def box37_b_entity @box37_b_entity end |
#box37_b_exchange ⇒ Object
The exchange information for Box 37B.
243 244 245 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 243 def box37_b_exchange @box37_b_exchange end |
#box37_b_name_of_entity ⇒ Object
The name of the entity for box 37B.
556 557 558 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 556 def box37_b_name_of_entity @box37_b_name_of_entity end |
#box37_b_securities_market ⇒ Object
The securities market information for box 37B.
559 560 561 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 559 def box37_b_securities_market @box37_b_securities_market end |
#box3_marital_status ⇒ Object
The marital status of the employee.
147 148 149 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 147 def box3_marital_status @box3_marital_status end |
#box41_sponsoring_entity ⇒ Object
The sponsoring entity information for box 41.
565 566 567 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 565 def box41_sponsoring_entity @box41_sponsoring_entity end |
#box4_last_name_differs ⇒ Object
Indicates whether the last name differs from prior records.
150 151 152 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 150 def box4_last_name_differs @box4_last_name_differs end |
#box5_num_allowances ⇒ Object
The number of allowances claimed by the employee.
153 154 155 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 153 def box5_num_allowances @box5_num_allowances end |
#box6_additional_withheld ⇒ Object
The additional amount withheld.
165 166 167 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 165 def box6_additional_withheld @box6_additional_withheld end |
#box7_exempt_from_withholding ⇒ Object
Indicates whether the employee is exempt from withholding.
168 169 170 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 168 def box7_exempt_from_withholding @box7_exempt_from_withholding end |
#business_classification ⇒ Object
The classification of the business.
581 582 583 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 581 def business_classification @business_classification end |
#business_name ⇒ Object
The name of the business associated with the form.
584 585 586 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 584 def business_name @business_name end |
#business_other ⇒ Object
Returns the value of attribute business_other.
586 587 588 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 586 def business_other @business_other end |
#certify_box14 ⇒ Object
Indicates certification for box 14.
373 374 375 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 373 def certify_box14 @certify_box14 end |
#certify_box14_a ⇒ Object
Returns the value of attribute certify_box14_a.
256 257 258 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 256 def certify_box14_a @certify_box14_a end |
#certify_box14_b ⇒ Object
Returns the value of attribute certify_box14_b.
258 259 260 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 258 def certify_box14_b @certify_box14_b end |
#certify_box14_c ⇒ Object
Returns the value of attribute certify_box14_c.
260 261 262 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 260 def certify_box14_c @certify_box14_c end |
#certify_box15_a ⇒ Object
Indicates certification for box 15A.
376 377 378 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 376 def certify_box15_a @certify_box15_a end |
#certify_box15_b ⇒ Object
Indicates certification for box 15B.
379 380 381 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 379 def certify_box15_b @certify_box15_b end |
#certify_box15_c ⇒ Object
Indicates certification for box 15C.
382 383 384 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 382 def certify_box15_c @certify_box15_c end |
#certify_box15_d ⇒ Object
Indicates certification for box 15D.
385 386 387 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 385 def certify_box15_d @certify_box15_d end |
#certify_box15_e ⇒ Object
Indicates certification for box 15E.
388 389 390 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 388 def certify_box15_e @certify_box15_e end |
#certify_box15_f ⇒ Object
Indicates certification for box 15F.
391 392 393 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 391 def certify_box15_f @certify_box15_f end |
#certify_box15_g ⇒ Object
Indicates certification for box 15G.
394 395 396 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 394 def certify_box15_g @certify_box15_g end |
#certify_box15_h ⇒ Object
Indicates certification for box 15H.
397 398 399 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 397 def certify_box15_h @certify_box15_h end |
#certify_box15_i ⇒ Object
Indicates certification for box 15I.
400 401 402 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 400 def certify_box15_i @certify_box15_i end |
#certify_box16_a ⇒ Object
Indicates certification for box 16A.
403 404 405 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 403 def certify_box16_a @certify_box16_a end |
#certify_box17_1 ⇒ Object
Returns the value of attribute certify_box17_1.
262 263 264 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 262 def certify_box17_1 @certify_box17_1 end |
#certify_box17_2 ⇒ Object
Returns the value of attribute certify_box17_2.
264 265 266 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 264 def certify_box17_2 @certify_box17_2 end |
#certify_box17_a ⇒ Object
Indicates certification for box 17A.
415 416 417 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 415 def certify_box17_a @certify_box17_a end |
#certify_box17_b ⇒ Object
Indicates certification for box 17B.
418 419 420 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 418 def certify_box17_b @certify_box17_b end |
#certify_box17_c ⇒ Object
Indicates certification for box 17C.
421 422 423 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 421 def certify_box17_c @certify_box17_c end |
#certify_box17_d ⇒ Object
Indicates certification for box 17D.
424 425 426 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 424 def certify_box17_d @certify_box17_d end |
#certify_box17_e ⇒ Object
Indicates certification for box 17E.
427 428 429 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 427 def certify_box17_e @certify_box17_e end |
#certify_box18 ⇒ Object
Returns the value of attribute certify_box18.
266 267 268 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 266 def certify_box18 @certify_box18 end |
#certify_box18_a ⇒ Object
Indicates certification for box 18A.
430 431 432 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 430 def certify_box18_a @certify_box18_a end |
#certify_box18_b ⇒ Object
Indicates certification for box 18B.
433 434 435 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 433 def certify_box18_b @certify_box18_b end |
#certify_box18_c ⇒ Object
Indicates certification for box 18C.
436 437 438 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 436 def certify_box18_c @certify_box18_c end |
#certify_box18_d ⇒ Object
Indicates certification for box 18D.
439 440 441 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 439 def certify_box18_d @certify_box18_d end |
#certify_box18_e ⇒ Object
Indicates certification for box 18E.
442 443 444 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 442 def certify_box18_e @certify_box18_e end |
#certify_box18_f ⇒ Object
Indicates certification for box 18F.
445 446 447 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 445 def certify_box18_f @certify_box18_f end |
#certify_box19 ⇒ Object
Returns the value of attribute certify_box19.
268 269 270 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 268 def certify_box19 @certify_box19 end |
#certify_box19_a ⇒ Object
Indicates certification for box 19A.
448 449 450 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 448 def certify_box19_a @certify_box19_a end |
#certify_box19_b ⇒ Object
Indicates certification for box 19B.
451 452 453 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 451 def certify_box19_b @certify_box19_b end |
#certify_box19_c ⇒ Object
Indicates certification for box 19C.
454 455 456 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 454 def certify_box19_c @certify_box19_c end |
#certify_box19_d ⇒ Object
Indicates certification for box 19D.
457 458 459 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 457 def certify_box19_d @certify_box19_d end |
#certify_box19_e ⇒ Object
Indicates certification for box 19E.
460 461 462 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 460 def certify_box19_e @certify_box19_e end |
#certify_box19_f ⇒ Object
Indicates certification for box 19F.
463 464 465 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 463 def certify_box19_f @certify_box19_f end |
#certify_box20 ⇒ Object
Indicates certification for box 20.
466 467 468 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 466 def certify_box20 @certify_box20 end |
#certify_box21 ⇒ Object
Returns the value of attribute certify_box21.
270 271 272 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 270 def certify_box21 @certify_box21 end |
#certify_box21_a ⇒ Object
Indicates certification for box 21A.
469 470 471 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 469 def certify_box21_a @certify_box21_a end |
#certify_box21_b ⇒ Object
Indicates certification for box 21B.
472 473 474 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 472 def certify_box21_b @certify_box21_b end |
#certify_box21_c ⇒ Object
Indicates certification for box 21C.
475 476 477 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 475 def certify_box21_c @certify_box21_c end |
#certify_box21_d ⇒ Object
Indicates certification for box 21D.
478 479 480 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 478 def certify_box21_d @certify_box21_d end |
#certify_box21_e ⇒ Object
Indicates certification for box 21E.
481 482 483 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 481 def certify_box21_e @certify_box21_e end |
#certify_box21_f ⇒ Object
Indicates certification for box 21F.
484 485 486 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 484 def certify_box21_f @certify_box21_f end |
#certify_box22 ⇒ Object
Indicates certification for box 22.
273 274 275 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 273 def certify_box22 @certify_box22 end |
#certify_box23 ⇒ Object
Returns the value of attribute certify_box23.
275 276 277 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 275 def certify_box23 @certify_box23 end |
#certify_box23_b ⇒ Object
Indicates certification for box 23B.
490 491 492 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 490 def certify_box23_b @certify_box23_b end |
#certify_box23_c ⇒ Object
Indicates certification for box 23C.
493 494 495 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 493 def certify_box23_c @certify_box23_c end |
#certify_box24_a ⇒ Object
Indicates certification for box 24A.
278 279 280 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 278 def certify_box24_a @certify_box24_a end |
#certify_box24_b ⇒ Object
Indicates certification for box 24B.
281 282 283 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 281 def certify_box24_b @certify_box24_b end |
#certify_box24_c ⇒ Object
Indicates certification for box 24C.
284 285 286 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 284 def certify_box24_c @certify_box24_c end |
#certify_box24_d ⇒ Object
Returns the value of attribute certify_box24_d.
286 287 288 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 286 def certify_box24_d @certify_box24_d end |
#certify_box25 ⇒ Object
Indicates certification for box 25.
496 497 498 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 496 def certify_box25 @certify_box25 end |
#certify_box25_a ⇒ Object
Returns the value of attribute certify_box25_a.
288 289 290 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 288 def certify_box25_a @certify_box25_a end |
#certify_box25_b ⇒ Object
Returns the value of attribute certify_box25_b.
290 291 292 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 290 def certify_box25_b @certify_box25_b end |
#certify_box25_c ⇒ Object
Returns the value of attribute certify_box25_c.
292 293 294 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 292 def certify_box25_c @certify_box25_c end |
#certify_box26 ⇒ Object
Indicates certification for box 26.
295 296 297 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 295 def certify_box26 @certify_box26 end |
#certify_box27 ⇒ Object
Returns the value of attribute certify_box27.
297 298 299 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 297 def certify_box27 @certify_box27 end |
#certify_box27_b ⇒ Object
Indicates certification for box 27B.
502 503 504 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 502 def certify_box27_b @certify_box27_b end |
#certify_box28 ⇒ Object
Indicates certification for box 28.
505 506 507 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 505 def certify_box28 @certify_box28 end |
#certify_box28_a ⇒ Object
Returns the value of attribute certify_box28_a.
299 300 301 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 299 def certify_box28_a @certify_box28_a end |
#certify_box28_b ⇒ Object
Returns the value of attribute certify_box28_b.
301 302 303 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 301 def certify_box28_b @certify_box28_b end |
#certify_box29 ⇒ Object
Indicates certification for box 29.
508 509 510 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 508 def certify_box29 @certify_box29 end |
#certify_box29_a ⇒ Object
Returns the value of attribute certify_box29_a.
303 304 305 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 303 def certify_box29_a @certify_box29_a end |
#certify_box29_b ⇒ Object
Returns the value of attribute certify_box29_b.
305 306 307 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 305 def certify_box29_b @certify_box29_b end |
#certify_box29_c ⇒ Object
Returns the value of attribute certify_box29_c.
307 308 309 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 307 def certify_box29_c @certify_box29_c end |
#certify_box29_d ⇒ Object
Returns the value of attribute certify_box29_d.
309 310 311 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 309 def certify_box29_d @certify_box29_d end |
#certify_box29_e ⇒ Object
Returns the value of attribute certify_box29_e.
311 312 313 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 311 def certify_box29_e @certify_box29_e end |
#certify_box29_f ⇒ Object
Returns the value of attribute certify_box29_f.
313 314 315 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 313 def certify_box29_f @certify_box29_f end |
#certify_box30 ⇒ Object
Returns the value of attribute certify_box30.
315 316 317 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 315 def certify_box30 @certify_box30 end |
#certify_box30_a ⇒ Object
Indicates certification for box 30A.
511 512 513 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 511 def certify_box30_a @certify_box30_a end |
#certify_box30_b ⇒ Object
Indicates certification for box 30B.
514 515 516 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 514 def certify_box30_b @certify_box30_b end |
#certify_box30_c ⇒ Object
Indicates certification for box 30C.
517 518 519 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 517 def certify_box30_c @certify_box30_c end |
#certify_box31 ⇒ Object
Indicates certification for box 31.
318 319 320 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 318 def certify_box31 @certify_box31 end |
#certify_box32 ⇒ Object
Indicates certification for box 32.
321 322 323 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 321 def certify_box32 @certify_box32 end |
#certify_box33 ⇒ Object
Returns the value of attribute certify_box33.
323 324 325 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 323 def certify_box33 @certify_box33 end |
#certify_box33_a ⇒ Object
Indicates certification for box 33A.
535 536 537 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 535 def certify_box33_a @certify_box33_a end |
#certify_box33_b ⇒ Object
Indicates certification for box 33B.
538 539 540 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 538 def certify_box33_b @certify_box33_b end |
#certify_box33_c ⇒ Object
Indicates certification for box 33C.
541 542 543 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 541 def certify_box33_c @certify_box33_c end |
#certify_box33_d ⇒ Object
Indicates certification for box 33D.
544 545 546 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 544 def certify_box33_d @certify_box33_d end |
#certify_box33_e ⇒ Object
Indicates certification for box 33E.
547 548 549 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 547 def certify_box33_e @certify_box33_e end |
#certify_box33_f ⇒ Object
Indicates certification for box 33F.
550 551 552 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 550 def certify_box33_f @certify_box33_f end |
#certify_box34 ⇒ Object
Indicates certification for box 34.
326 327 328 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 326 def certify_box34 @certify_box34 end |
#certify_box35 ⇒ Object
Indicates certification for box 35.
329 330 331 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 329 def certify_box35 @certify_box35 end |
#certify_box36 ⇒ Object
Indicates certification for box 36.
332 333 334 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 332 def certify_box36 @certify_box36 end |
#certify_box37_a ⇒ Object
Indicates certification for box 37A.
335 336 337 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 335 def certify_box37_a @certify_box37_a end |
#certify_box37_b ⇒ Object
Indicates certification for box 37B.
338 339 340 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 338 def certify_box37_b @certify_box37_b end |
#certify_box38 ⇒ Object
Indicates certification for box 38.
341 342 343 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 341 def certify_box38 @certify_box38 end |
#certify_box39 ⇒ Object
Indicates certification for box 39.
344 345 346 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 344 def certify_box39 @certify_box39 end |
#certify_box40 ⇒ Object
Indicates certification for box 40.
562 563 564 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 562 def certify_box40 @certify_box40 end |
#certify_box40_a ⇒ Object
Returns the value of attribute certify_box40_a.
346 347 348 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 346 def certify_box40_a @certify_box40_a end |
#certify_box40_b ⇒ Object
Returns the value of attribute certify_box40_b.
348 349 350 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 348 def certify_box40_b @certify_box40_b end |
#certify_box40_c ⇒ Object
Returns the value of attribute certify_box40_c.
350 351 352 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 350 def certify_box40_c @certify_box40_c end |
#certify_box41 ⇒ Object
Returns the value of attribute certify_box41.
352 353 354 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 352 def certify_box41 @certify_box41 end |
#certify_box42 ⇒ Object
Indicates certification for box 42.
568 569 570 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 568 def certify_box42 @certify_box42 end |
#certify_box43 ⇒ Object
Returns the value of attribute certify_box43.
354 355 356 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 354 def certify_box43 @certify_box43 end |
#certify_part29_signature ⇒ Object
Returns the value of attribute certify_part29_signature.
356 357 358 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 356 def certify_part29_signature @certify_part29_signature end |
#chapter3_entity_type ⇒ Object
The Chapter 3 entity type.
198 199 200 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 198 def chapter3_entity_type @chapter3_entity_type end |
#chapter4_fatca_status ⇒ Object
The Chapter 4 FATCA status.
201 202 203 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 201 def chapter4_fatca_status @chapter4_fatca_status end |
#citizenship_country ⇒ Object
The country of citizenship.
90 91 92 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 90 def citizenship_country @citizenship_country end |
#city ⇒ Object
The city of the address.
138 139 140 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 138 def city @city end |
#company_id ⇒ Object
The ID of the associated company.
34 35 36 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 34 def company_id @company_id end |
#created_at ⇒ Object
The creation date of the form.
117 118 119 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 117 def created_at @created_at end |
#deductions ⇒ Object
The amount of deductions claimed.
162 163 164 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 162 def deductions @deductions end |
#display_name ⇒ Object
The display name associated with the form.
37 38 39 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 37 def display_name @display_name end |
#disregarded_address ⇒ Object
The address for disregarded entities.
177 178 179 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 177 def disregarded_address @disregarded_address end |
#disregarded_city ⇒ Object
The city for disregarded entities.
180 181 182 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 180 def disregarded_city @disregarded_city end |
#disregarded_country ⇒ Object
The country for disregarded entities.
189 190 191 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 189 def disregarded_country @disregarded_country end |
#disregarded_entity ⇒ Object
The disregarded entity information.
204 205 206 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 204 def disregarded_entity @disregarded_entity end |
#disregarded_entity_chapter4_fatca_status ⇒ Object
The FATCA status for disregarded entities under Chapter 4.
174 175 176 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 174 def disregarded_entity_chapter4_fatca_status @disregarded_entity_chapter4_fatca_status end |
#disregarded_entity_giin ⇒ Object
The GIIN for disregarded entities.
207 208 209 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 207 def disregarded_entity_giin @disregarded_entity_giin end |
#disregarded_postal_code ⇒ Object
The postal code for disregarded entities.
186 187 188 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 186 def disregarded_postal_code @disregarded_postal_code end |
#disregarded_state ⇒ Object
The state for disregarded entities.
183 184 185 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 183 def disregarded_state @disregarded_state end |
#e_delivery_consented_at ⇒ Object
The date when e-delivery was consented.
114 115 116 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 114 def @e_delivery_consented_at end |
#ein ⇒ Object
The employer identification number (EIN).
367 368 369 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 367 def ein @ein end |
#ein_type ⇒ Object
The type of employer identification number (EIN).
370 371 372 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 370 def ein_type @ein_type end |
#email ⇒ Object
The email address of the individual associated with the form.
40 41 42 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 40 def email @email end |
#employee_first_name ⇒ Object
The first name of the employee.
123 124 125 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 123 def employee_first_name @employee_first_name end |
#employee_last_name ⇒ Object
The last name of the employee.
129 130 131 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 129 def employee_last_name @employee_last_name end |
#employee_middle_name ⇒ Object
The middle name of the employee.
126 127 128 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 126 def employee_middle_name @employee_middle_name end |
#employee_name_suffix ⇒ Object
The name suffix of the employee.
132 133 134 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 132 def employee_name_suffix @employee_name_suffix end |
#exempt_fatca_code ⇒ Object
Returns the value of attribute exempt_fatca_code.
590 591 592 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 590 def exempt_fatca_code @exempt_fatca_code end |
#exempt_payee_code ⇒ Object
Returns the value of attribute exempt_payee_code.
588 589 590 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 588 def exempt_payee_code @exempt_payee_code end |
#foreign_address ⇒ Object
The foreign address of the individual or entity.
599 600 601 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 599 def foreign_address @foreign_address end |
#foreign_country_indicator ⇒ Object
Indicates whether the individual or entity is in a foreign country.
596 597 598 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 596 def foreign_country_indicator @foreign_country_indicator end |
#foreign_partner_owner_or_beneficiary ⇒ Object
Indicates whether the individual is a foreign partner, owner, or beneficiary.
607 608 609 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 607 def foreign_partner_owner_or_beneficiary @foreign_partner_owner_or_beneficiary end |
#foreign_tin ⇒ Object
The foreign taxpayer identification number (TIN).
84 85 86 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 84 def foreign_tin @foreign_tin end |
#foreign_tin_not_required ⇒ Object
Indicates whether a foreign TIN is not required.
25 26 27 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 25 def foreign_tin_not_required @foreign_tin_not_required end |
#ftin_not_required ⇒ Object
Indicates whether a foreign TIN is not required.
192 193 194 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 192 def ftin_not_required @ftin_not_required end |
#giin ⇒ Object
The global intermediary identification number (GIIN).
195 196 197 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 195 def giin @giin end |
#income_type ⇒ Object
The type of income covered by the treaty.
102 103 104 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 102 def income_type @income_type end |
#is1099able ⇒ Object
Returns the value of attribute is1099able.
604 605 606 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 604 def is1099able @is1099able end |
#mailing_address ⇒ Object
The mailing address.
66 67 68 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 66 def mailing_address @mailing_address end |
#mailing_city ⇒ Object
The city of the mailing address.
69 70 71 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 69 def mailing_city @mailing_city end |
#mailing_country ⇒ Object
The country of the mailing address.
78 79 80 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 78 def mailing_country @mailing_country end |
#mailing_postal_code ⇒ Object
The postal code of the mailing address.
75 76 77 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 75 def mailing_postal_code @mailing_postal_code end |
#mailing_state ⇒ Object
The state of the mailing address.
72 73 74 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 72 def mailing_state @mailing_state end |
#making_treaty_claim ⇒ Object
Returns the value of attribute making_treaty_claim.
254 255 256 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 254 def making_treaty_claim @making_treaty_claim end |
#name ⇒ Object
The name of the individual or entity associated with the form.
46 47 48 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 46 def name @name end |
#non_job_income ⇒ Object
The amount of non-job income.
159 160 161 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 159 def non_job_income @non_job_income end |
#office_code ⇒ Object
The office code associated with the form.
171 172 173 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 171 def office_code @office_code end |
#other_dependents ⇒ Object
The number of dependents other than allowances.
156 157 158 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 156 def other_dependents @other_dependents end |
#part12_fatca_status_under_iga_annex_ii ⇒ Object
The FATCA status under IGA Annex II for Part 12.
228 229 230 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 228 def part12_fatca_status_under_iga_annex_ii @part12_fatca_status_under_iga_annex_ii end |
#part12_iga_country ⇒ Object
The IGA country information for Part 12.
222 223 224 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 222 def part12_iga_country @part12_iga_country end |
#part12_iga_type ⇒ Object
The IGA type information for Part 12.
225 226 227 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 225 def part12_iga_type @part12_iga_type end |
#part12_model2_iga_giin ⇒ Object
The GIIN for Model 2 IGA in Part 12.
237 238 239 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 237 def part12_model2_iga_giin @part12_model2_iga_giin end |
#part12_trustee_is_foreign ⇒ Object
Indicates whether the trustee is foreign for Part 12.
234 235 236 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 234 def part12_trustee_is_foreign @part12_trustee_is_foreign end |
#part12_trustee_name ⇒ Object
The trustee name for Part 12.
231 232 233 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 231 def part12_trustee_name @part12_trustee_name end |
#part19_formation_or_resolution_date ⇒ Object
Returns the value of attribute part19_formation_or_resolution_date.
358 359 360 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 358 def part19_formation_or_resolution_date @part19_formation_or_resolution_date end |
#part20_filing_date ⇒ Object
Returns the value of attribute part20_filing_date.
360 361 362 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 360 def part20_filing_date @part20_filing_date end |
#part21_determination_date ⇒ Object
Returns the value of attribute part21_determination_date.
362 363 364 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 362 def part21_determination_date @part21_determination_date end |
#part28_sponsoring_entity ⇒ Object
The sponsoring entity information for Part 28.
249 250 251 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 249 def part28_sponsoring_entity @part28_sponsoring_entity end |
#part28_sponsoring_entity_giin ⇒ Object
The GIIN for the sponsoring entity in Part 28.
252 253 254 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 252 def part28_sponsoring_entity_giin @part28_sponsoring_entity_giin end |
#part4_sponsoring_entity ⇒ Object
The sponsoring entity information for Part 4.
213 214 215 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 213 def part4_sponsoring_entity @part4_sponsoring_entity end |
#part4_sponsoring_entity_giin ⇒ Object
The GIIN for the sponsoring entity in Part 4.
216 217 218 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 216 def part4_sponsoring_entity_giin @part4_sponsoring_entity_giin end |
#part7_sponsoring_entity ⇒ Object
The sponsoring entity information for Part 7.
219 220 221 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 219 def part7_sponsoring_entity @part7_sponsoring_entity end |
#reference_id ⇒ Object
A reference identifier for the form.
31 32 33 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 31 def reference_id @reference_id end |
#reference_number ⇒ Object
A reference number for the form.
87 88 89 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 87 def reference_number @reference_number end |
#residence_address ⇒ Object
The residential address of the individual or entity.
49 50 51 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 49 def residence_address @residence_address end |
#residence_city ⇒ Object
The city of residence.
52 53 54 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 52 def residence_city @residence_city end |
#residence_country ⇒ Object
The country of residence.
61 62 63 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 61 def residence_country @residence_country end |
#residence_is_mailing ⇒ Object
Returns the value of attribute residence_is_mailing.
63 64 65 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 63 def residence_is_mailing @residence_is_mailing end |
#residence_postal_code ⇒ Object
The postal code of the residence.
58 59 60 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 58 def residence_postal_code @residence_postal_code end |
#residence_state ⇒ Object
The state of residence.
55 56 57 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 55 def residence_state @residence_state end |
#signature ⇒ Object
The signature itself
578 579 580 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 578 def signature @signature end |
#signed_date ⇒ Object
The date the form was signed.
19 20 21 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 19 def signed_date @signed_date end |
#signer_capacity ⇒ Object
The capacity in which the signer is signing the form.
111 112 113 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 111 def signer_capacity @signer_capacity end |
#signer_name ⇒ Object
The name of the signer of the form.
108 109 110 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 108 def signer_name @signer_name end |
#state ⇒ Object
The state of the address.
141 142 143 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 141 def state @state end |
#substantial_us_owners ⇒ Object
Returns the value of attribute substantial_us_owners.
364 365 366 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 364 def substantial_us_owners @substantial_us_owners end |
#tin ⇒ Object
The taxpayer identification number (TIN).
81 82 83 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 81 def tin @tin end |
#tin_match_status ⇒ Object
The status of the TIN match.
575 576 577 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 575 def tin_match_status @tin_match_status end |
#treaty_article ⇒ Object
The specific article of the treaty being claimed.
96 97 98 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 96 def treaty_article @treaty_article end |
#treaty_country ⇒ Object
The country for which the treaty applies.
93 94 95 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 93 def treaty_country @treaty_country end |
#treaty_reasons ⇒ Object
The reasons for claiming treaty benefits.
105 106 107 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 105 def treaty_reasons @treaty_reasons end |
#type ⇒ Object
Type of the form, always W8ben for this model.
16 17 18 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 16 def type @type end |
#type_of_tin ⇒ Object
The type of TIN provided.
43 44 45 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 43 def type_of_tin @type_of_tin end |
#updated_at ⇒ Object
The last updated date of the form.
120 121 122 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 120 def updated_at @updated_at end |
#withholding_rate ⇒ Object
The withholding rate applied as per the treaty.
99 100 101 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 99 def withholding_rate @withholding_rate end |
#zip ⇒ Object
The ZIP code of the address.
144 145 146 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 144 def zip @zip end |
Class Method Details
._deserialize(type, value) ⇒ Object
Deserializes the data based on type
2355 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 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2355 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_attributes ⇒ Object
Returns all the JSON keys this model knows about
850 851 852 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 850 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
632 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 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 632 def self.attribute_map { :'type' => :'type', :'signed_date' => :'signedDate', :'birthday' => :'birthday', :'foreign_tin_not_required' => :'foreignTinNotRequired', :'archived' => :'archived', :'reference_id' => :'referenceId', :'company_id' => :'companyId', :'display_name' => :'displayName', :'email' => :'email', :'type_of_tin' => :'typeOfTin', :'name' => :'name', :'residence_address' => :'residenceAddress', :'residence_city' => :'residenceCity', :'residence_state' => :'residenceState', :'residence_postal_code' => :'residencePostalCode', :'residence_country' => :'residenceCountry', :'residence_is_mailing' => :'residenceIsMailing', :'mailing_address' => :'mailingAddress', :'mailing_city' => :'mailingCity', :'mailing_state' => :'mailingState', :'mailing_postal_code' => :'mailingPostalCode', :'mailing_country' => :'mailingCountry', :'tin' => :'tin', :'foreign_tin' => :'foreignTin', :'reference_number' => :'referenceNumber', :'citizenship_country' => :'citizenshipCountry', :'treaty_country' => :'treatyCountry', :'treaty_article' => :'treatyArticle', :'withholding_rate' => :'withholdingRate', :'income_type' => :'incomeType', :'treaty_reasons' => :'treatyReasons', :'signer_name' => :'signerName', :'signer_capacity' => :'signerCapacity', :'e_delivery_consented_at' => :'eDeliveryConsentedAt', :'created_at' => :'createdAt', :'updated_at' => :'updatedAt', :'employee_first_name' => :'employeeFirstName', :'employee_middle_name' => :'employeeMiddleName', :'employee_last_name' => :'employeeLastName', :'employee_name_suffix' => :'employeeNameSuffix', :'address' => :'address', :'city' => :'city', :'state' => :'state', :'zip' => :'zip', :'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', :'disregarded_entity_chapter4_fatca_status' => :'disregardedEntityChapter4FatcaStatus', :'disregarded_address' => :'disregardedAddress', :'disregarded_city' => :'disregardedCity', :'disregarded_state' => :'disregardedState', :'disregarded_postal_code' => :'disregardedPostalCode', :'disregarded_country' => :'disregardedCountry', :'ftin_not_required' => :'ftinNotRequired', :'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', :'making_treaty_claim' => :'makingTreatyClaim', :'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', :'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
2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2331 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_of ⇒ Object
List of class defined in allOf (OpenAPI v3)
1188 1189 1190 1191 1192 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 1188 def self.openapi_all_of [ :'IW9FormDataModelsOneOf' ] end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
1073 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 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 1073 def self.openapi_nullable Set.new([ :'signed_date', :'birthday', :'foreign_tin_not_required', :'archived', :'reference_id', :'company_id', :'display_name', :'email', :'type_of_tin', :'name', :'residence_address', :'residence_city', :'residence_state', :'residence_postal_code', :'residence_country', :'mailing_address', :'mailing_city', :'mailing_state', :'mailing_postal_code', :'mailing_country', :'tin', :'foreign_tin', :'reference_number', :'citizenship_country', :'treaty_country', :'treaty_article', :'withholding_rate', :'income_type', :'treaty_reasons', :'signer_name', :'signer_capacity', :'e_delivery_consented_at', :'created_at', :'updated_at', :'employee_first_name', :'employee_middle_name', :'employee_last_name', :'employee_name_suffix', :'address', :'city', :'state', :'zip', :'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', :'disregarded_entity_chapter4_fatca_status', :'disregarded_address', :'disregarded_city', :'disregarded_state', :'disregarded_postal_code', :'disregarded_country', :'ftin_not_required', :'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', :'making_treaty_claim', :'part19_formation_or_resolution_date', :'part20_filing_date', :'part21_determination_date', :'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_types ⇒ Object
Attribute type mapping.
855 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 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 855 def self.openapi_types { :'type' => :'String', :'signed_date' => :'Time', :'birthday' => :'String', :'foreign_tin_not_required' => :'Boolean', :'archived' => :'Boolean', :'reference_id' => :'String', :'company_id' => :'Integer', :'display_name' => :'String', :'email' => :'String', :'type_of_tin' => :'String', :'name' => :'String', :'residence_address' => :'String', :'residence_city' => :'String', :'residence_state' => :'String', :'residence_postal_code' => :'String', :'residence_country' => :'String', :'residence_is_mailing' => :'Boolean', :'mailing_address' => :'String', :'mailing_city' => :'String', :'mailing_state' => :'String', :'mailing_postal_code' => :'String', :'mailing_country' => :'String', :'tin' => :'String', :'foreign_tin' => :'String', :'reference_number' => :'String', :'citizenship_country' => :'String', :'treaty_country' => :'String', :'treaty_article' => :'String', :'withholding_rate' => :'String', :'income_type' => :'String', :'treaty_reasons' => :'String', :'signer_name' => :'String', :'signer_capacity' => :'String', :'e_delivery_consented_at' => :'Time', :'created_at' => :'Time', :'updated_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', :'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', :'disregarded_entity_chapter4_fatca_status' => :'String', :'disregarded_address' => :'String', :'disregarded_city' => :'String', :'disregarded_state' => :'String', :'disregarded_postal_code' => :'String', :'disregarded_country' => :'String', :'ftin_not_required' => :'Boolean', :'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', :'making_treaty_claim' => :'Boolean', :'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>', :'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.
2099 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 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2099 def ==(o) return true if self.equal?(o) self.class == o.class && type == o.type && signed_date == o.signed_date && 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 && type_of_tin == o.type_of_tin && 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 && residence_is_mailing == o.residence_is_mailing && 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 && tin == o.tin && foreign_tin == o.foreign_tin && reference_number == o.reference_number && citizenship_country == o.citizenship_country && 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 && signer_name == o.signer_name && signer_capacity == o.signer_capacity && == o. && created_at == o.created_at && updated_at == o.updated_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 && 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 && disregarded_entity_chapter4_fatca_status == o.disregarded_entity_chapter4_fatca_status && 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 && ftin_not_required == o.ftin_not_required && 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 && making_treaty_claim == o.making_treaty_claim && 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 && 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 && account_number == o.account_number && 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
2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2426 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
2318 2319 2320 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2318 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
2324 2325 2326 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2324 def hash [type, signed_date, birthday, foreign_tin_not_required, archived, reference_id, company_id, display_name, email, type_of_tin, name, residence_address, residence_city, residence_state, residence_postal_code, residence_country, residence_is_mailing, mailing_address, mailing_city, mailing_state, mailing_postal_code, mailing_country, tin, foreign_tin, reference_number, citizenship_country, treaty_country, treaty_article, withholding_rate, income_type, treaty_reasons, signer_name, signer_capacity, , created_at, updated_at, employee_first_name, employee_middle_name, employee_last_name, employee_name_suffix, address, city, state, zip, 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, disregarded_entity_chapter4_fatca_status, disregarded_address, disregarded_city, disregarded_state, disregarded_postal_code, disregarded_country, ftin_not_required, 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, making_treaty_claim, 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, 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, account_number, foreign_country_indicator, foreign_address, backup_withholding, is1099able, foreign_partner_owner_or_beneficiary].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
2062 2063 2064 2065 2066 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2062 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
2402 2403 2404 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2402 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2408 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_s ⇒ String
Returns the string representation of the object
2396 2397 2398 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2396 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
2070 2071 2072 2073 2074 2075 |
# File 'lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb', line 2070 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 |