increase 1.86.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/account_transfer.rb +32 -44
- data/lib/increase/models/account_transfer_create_params.rb +11 -8
- data/lib/increase/models/card_payment.rb +144 -72
- data/lib/increase/models/declined_transaction.rb +36 -18
- data/lib/increase/models/pending_transaction.rb +36 -18
- data/lib/increase/models/real_time_decision.rb +36 -18
- data/lib/increase/resources/account_transfers.rb +6 -6
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_transfer.rbi +36 -53
- data/rbi/increase/models/account_transfer_create_params.rbi +14 -8
- data/rbi/increase/models/card_payment.rbi +216 -72
- data/rbi/increase/models/declined_transaction.rbi +54 -18
- data/rbi/increase/models/pending_transaction.rbi +54 -18
- data/rbi/increase/models/real_time_decision.rbi +54 -18
- data/rbi/increase/resources/account_transfers.rbi +9 -6
- data/sig/increase/models/account_transfer.rbs +2 -17
- metadata +2 -2
@@ -1534,7 +1534,9 @@ module Increase
|
|
1534
1534
|
)
|
1535
1535
|
end
|
1536
1536
|
|
1537
|
-
# The amount in minor units of the `currency` field.
|
1537
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1538
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1539
|
+
# subtracted from the amount (such as a discount).
|
1538
1540
|
sig { returns(Integer) }
|
1539
1541
|
attr_accessor :amount
|
1540
1542
|
|
@@ -1550,7 +1552,9 @@ module Increase
|
|
1550
1552
|
)
|
1551
1553
|
end
|
1552
1554
|
def self.new(
|
1553
|
-
# The amount in minor units of the `currency` field.
|
1555
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1556
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1557
|
+
# subtracted from the amount (such as a discount).
|
1554
1558
|
amount:,
|
1555
1559
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1556
1560
|
# amount's currency.
|
@@ -1572,7 +1576,9 @@ module Increase
|
|
1572
1576
|
)
|
1573
1577
|
end
|
1574
1578
|
|
1575
|
-
# The amount in minor units of the `currency` field.
|
1579
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1580
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1581
|
+
# subtracted from the amount (such as a discount).
|
1576
1582
|
sig { returns(Integer) }
|
1577
1583
|
attr_accessor :amount
|
1578
1584
|
|
@@ -1588,7 +1594,9 @@ module Increase
|
|
1588
1594
|
)
|
1589
1595
|
end
|
1590
1596
|
def self.new(
|
1591
|
-
# The amount in minor units of the `currency` field.
|
1597
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1598
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1599
|
+
# subtracted from the amount (such as a discount).
|
1592
1600
|
amount:,
|
1593
1601
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1594
1602
|
# amount's currency.
|
@@ -1610,7 +1618,9 @@ module Increase
|
|
1610
1618
|
)
|
1611
1619
|
end
|
1612
1620
|
|
1613
|
-
# The amount in minor units of the `currency` field.
|
1621
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1622
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1623
|
+
# subtracted from the amount (such as a discount).
|
1614
1624
|
sig { returns(Integer) }
|
1615
1625
|
attr_accessor :amount
|
1616
1626
|
|
@@ -1626,7 +1636,9 @@ module Increase
|
|
1626
1636
|
)
|
1627
1637
|
end
|
1628
1638
|
def self.new(
|
1629
|
-
# The amount in minor units of the `currency` field.
|
1639
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1640
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1641
|
+
# subtracted from the amount (such as a discount).
|
1630
1642
|
amount:,
|
1631
1643
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1632
1644
|
# amount's currency.
|
@@ -1648,7 +1660,9 @@ module Increase
|
|
1648
1660
|
)
|
1649
1661
|
end
|
1650
1662
|
|
1651
|
-
# The amount in minor units of the `currency` field.
|
1663
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1664
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1665
|
+
# subtracted from the amount (such as a discount).
|
1652
1666
|
sig { returns(Integer) }
|
1653
1667
|
attr_accessor :amount
|
1654
1668
|
|
@@ -1664,7 +1678,9 @@ module Increase
|
|
1664
1678
|
)
|
1665
1679
|
end
|
1666
1680
|
def self.new(
|
1667
|
-
# The amount in minor units of the `currency` field.
|
1681
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1682
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1683
|
+
# subtracted from the amount (such as a discount).
|
1668
1684
|
amount:,
|
1669
1685
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1670
1686
|
# amount's currency.
|
@@ -1686,7 +1702,9 @@ module Increase
|
|
1686
1702
|
)
|
1687
1703
|
end
|
1688
1704
|
|
1689
|
-
# The amount in minor units of the `currency` field.
|
1705
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1706
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1707
|
+
# subtracted from the amount (such as a discount).
|
1690
1708
|
sig { returns(Integer) }
|
1691
1709
|
attr_accessor :amount
|
1692
1710
|
|
@@ -1702,7 +1720,9 @@ module Increase
|
|
1702
1720
|
)
|
1703
1721
|
end
|
1704
1722
|
def self.new(
|
1705
|
-
# The amount in minor units of the `currency` field.
|
1723
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1724
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1725
|
+
# subtracted from the amount (such as a discount).
|
1706
1726
|
amount:,
|
1707
1727
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1708
1728
|
# amount's currency.
|
@@ -1724,7 +1744,9 @@ module Increase
|
|
1724
1744
|
)
|
1725
1745
|
end
|
1726
1746
|
|
1727
|
-
# The amount in minor units of the `currency` field.
|
1747
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1748
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1749
|
+
# subtracted from the amount (such as a discount).
|
1728
1750
|
sig { returns(Integer) }
|
1729
1751
|
attr_accessor :amount
|
1730
1752
|
|
@@ -1740,7 +1762,9 @@ module Increase
|
|
1740
1762
|
)
|
1741
1763
|
end
|
1742
1764
|
def self.new(
|
1743
|
-
# The amount in minor units of the `currency` field.
|
1765
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1766
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1767
|
+
# subtracted from the amount (such as a discount).
|
1744
1768
|
amount:,
|
1745
1769
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1746
1770
|
# amount's currency.
|
@@ -1762,7 +1786,9 @@ module Increase
|
|
1762
1786
|
)
|
1763
1787
|
end
|
1764
1788
|
|
1765
|
-
# The amount in minor units of the `currency` field.
|
1789
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1790
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1791
|
+
# subtracted from the amount (such as a discount).
|
1766
1792
|
sig { returns(Integer) }
|
1767
1793
|
attr_accessor :amount
|
1768
1794
|
|
@@ -1778,7 +1804,9 @@ module Increase
|
|
1778
1804
|
)
|
1779
1805
|
end
|
1780
1806
|
def self.new(
|
1781
|
-
# The amount in minor units of the `currency` field.
|
1807
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1808
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1809
|
+
# subtracted from the amount (such as a discount).
|
1782
1810
|
amount:,
|
1783
1811
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1784
1812
|
# amount's currency.
|
@@ -1800,7 +1828,9 @@ module Increase
|
|
1800
1828
|
)
|
1801
1829
|
end
|
1802
1830
|
|
1803
|
-
# The amount in minor units of the `currency` field.
|
1831
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1832
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1833
|
+
# subtracted from the amount (such as a discount).
|
1804
1834
|
sig { returns(Integer) }
|
1805
1835
|
attr_accessor :amount
|
1806
1836
|
|
@@ -1816,7 +1846,9 @@ module Increase
|
|
1816
1846
|
)
|
1817
1847
|
end
|
1818
1848
|
def self.new(
|
1819
|
-
# The amount in minor units of the `currency` field.
|
1849
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1850
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1851
|
+
# subtracted from the amount (such as a discount).
|
1820
1852
|
amount:,
|
1821
1853
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1822
1854
|
# amount's currency.
|
@@ -1838,7 +1870,9 @@ module Increase
|
|
1838
1870
|
)
|
1839
1871
|
end
|
1840
1872
|
|
1841
|
-
# The amount in minor units of the `currency` field.
|
1873
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1874
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1875
|
+
# subtracted from the amount (such as a discount).
|
1842
1876
|
sig { returns(Integer) }
|
1843
1877
|
attr_accessor :amount
|
1844
1878
|
|
@@ -1854,7 +1888,9 @@ module Increase
|
|
1854
1888
|
)
|
1855
1889
|
end
|
1856
1890
|
def self.new(
|
1857
|
-
# The amount in minor units of the `currency` field.
|
1891
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1892
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1893
|
+
# subtracted from the amount (such as a discount).
|
1858
1894
|
amount:,
|
1859
1895
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1860
1896
|
# amount's currency.
|
@@ -1629,7 +1629,9 @@ module Increase
|
|
1629
1629
|
)
|
1630
1630
|
end
|
1631
1631
|
|
1632
|
-
# The amount in minor units of the `currency` field.
|
1632
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1633
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1634
|
+
# subtracted from the amount (such as a discount).
|
1633
1635
|
sig { returns(Integer) }
|
1634
1636
|
attr_accessor :amount
|
1635
1637
|
|
@@ -1645,7 +1647,9 @@ module Increase
|
|
1645
1647
|
)
|
1646
1648
|
end
|
1647
1649
|
def self.new(
|
1648
|
-
# The amount in minor units of the `currency` field.
|
1650
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1651
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1652
|
+
# subtracted from the amount (such as a discount).
|
1649
1653
|
amount:,
|
1650
1654
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1651
1655
|
# amount's currency.
|
@@ -1667,7 +1671,9 @@ module Increase
|
|
1667
1671
|
)
|
1668
1672
|
end
|
1669
1673
|
|
1670
|
-
# The amount in minor units of the `currency` field.
|
1674
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1675
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1676
|
+
# subtracted from the amount (such as a discount).
|
1671
1677
|
sig { returns(Integer) }
|
1672
1678
|
attr_accessor :amount
|
1673
1679
|
|
@@ -1683,7 +1689,9 @@ module Increase
|
|
1683
1689
|
)
|
1684
1690
|
end
|
1685
1691
|
def self.new(
|
1686
|
-
# The amount in minor units of the `currency` field.
|
1692
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1693
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1694
|
+
# subtracted from the amount (such as a discount).
|
1687
1695
|
amount:,
|
1688
1696
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1689
1697
|
# amount's currency.
|
@@ -1705,7 +1713,9 @@ module Increase
|
|
1705
1713
|
)
|
1706
1714
|
end
|
1707
1715
|
|
1708
|
-
# The amount in minor units of the `currency` field.
|
1716
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1717
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1718
|
+
# subtracted from the amount (such as a discount).
|
1709
1719
|
sig { returns(Integer) }
|
1710
1720
|
attr_accessor :amount
|
1711
1721
|
|
@@ -1721,7 +1731,9 @@ module Increase
|
|
1721
1731
|
)
|
1722
1732
|
end
|
1723
1733
|
def self.new(
|
1724
|
-
# The amount in minor units of the `currency` field.
|
1734
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1735
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1736
|
+
# subtracted from the amount (such as a discount).
|
1725
1737
|
amount:,
|
1726
1738
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1727
1739
|
# amount's currency.
|
@@ -1743,7 +1755,9 @@ module Increase
|
|
1743
1755
|
)
|
1744
1756
|
end
|
1745
1757
|
|
1746
|
-
# The amount in minor units of the `currency` field.
|
1758
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1759
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1760
|
+
# subtracted from the amount (such as a discount).
|
1747
1761
|
sig { returns(Integer) }
|
1748
1762
|
attr_accessor :amount
|
1749
1763
|
|
@@ -1759,7 +1773,9 @@ module Increase
|
|
1759
1773
|
)
|
1760
1774
|
end
|
1761
1775
|
def self.new(
|
1762
|
-
# The amount in minor units of the `currency` field.
|
1776
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1777
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1778
|
+
# subtracted from the amount (such as a discount).
|
1763
1779
|
amount:,
|
1764
1780
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1765
1781
|
# amount's currency.
|
@@ -1781,7 +1797,9 @@ module Increase
|
|
1781
1797
|
)
|
1782
1798
|
end
|
1783
1799
|
|
1784
|
-
# The amount in minor units of the `currency` field.
|
1800
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1801
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1802
|
+
# subtracted from the amount (such as a discount).
|
1785
1803
|
sig { returns(Integer) }
|
1786
1804
|
attr_accessor :amount
|
1787
1805
|
|
@@ -1797,7 +1815,9 @@ module Increase
|
|
1797
1815
|
)
|
1798
1816
|
end
|
1799
1817
|
def self.new(
|
1800
|
-
# The amount in minor units of the `currency` field.
|
1818
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1819
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1820
|
+
# subtracted from the amount (such as a discount).
|
1801
1821
|
amount:,
|
1802
1822
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1803
1823
|
# amount's currency.
|
@@ -1819,7 +1839,9 @@ module Increase
|
|
1819
1839
|
)
|
1820
1840
|
end
|
1821
1841
|
|
1822
|
-
# The amount in minor units of the `currency` field.
|
1842
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1843
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1844
|
+
# subtracted from the amount (such as a discount).
|
1823
1845
|
sig { returns(Integer) }
|
1824
1846
|
attr_accessor :amount
|
1825
1847
|
|
@@ -1835,7 +1857,9 @@ module Increase
|
|
1835
1857
|
)
|
1836
1858
|
end
|
1837
1859
|
def self.new(
|
1838
|
-
# The amount in minor units of the `currency` field.
|
1860
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1861
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1862
|
+
# subtracted from the amount (such as a discount).
|
1839
1863
|
amount:,
|
1840
1864
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1841
1865
|
# amount's currency.
|
@@ -1857,7 +1881,9 @@ module Increase
|
|
1857
1881
|
)
|
1858
1882
|
end
|
1859
1883
|
|
1860
|
-
# The amount in minor units of the `currency` field.
|
1884
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1885
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1886
|
+
# subtracted from the amount (such as a discount).
|
1861
1887
|
sig { returns(Integer) }
|
1862
1888
|
attr_accessor :amount
|
1863
1889
|
|
@@ -1873,7 +1899,9 @@ module Increase
|
|
1873
1899
|
)
|
1874
1900
|
end
|
1875
1901
|
def self.new(
|
1876
|
-
# The amount in minor units of the `currency` field.
|
1902
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1903
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1904
|
+
# subtracted from the amount (such as a discount).
|
1877
1905
|
amount:,
|
1878
1906
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1879
1907
|
# amount's currency.
|
@@ -1895,7 +1923,9 @@ module Increase
|
|
1895
1923
|
)
|
1896
1924
|
end
|
1897
1925
|
|
1898
|
-
# The amount in minor units of the `currency` field.
|
1926
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1927
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1928
|
+
# subtracted from the amount (such as a discount).
|
1899
1929
|
sig { returns(Integer) }
|
1900
1930
|
attr_accessor :amount
|
1901
1931
|
|
@@ -1911,7 +1941,9 @@ module Increase
|
|
1911
1941
|
)
|
1912
1942
|
end
|
1913
1943
|
def self.new(
|
1914
|
-
# The amount in minor units of the `currency` field.
|
1944
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1945
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1946
|
+
# subtracted from the amount (such as a discount).
|
1915
1947
|
amount:,
|
1916
1948
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1917
1949
|
# amount's currency.
|
@@ -1933,7 +1965,9 @@ module Increase
|
|
1933
1965
|
)
|
1934
1966
|
end
|
1935
1967
|
|
1936
|
-
# The amount in minor units of the `currency` field.
|
1968
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1969
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1970
|
+
# subtracted from the amount (such as a discount).
|
1937
1971
|
sig { returns(Integer) }
|
1938
1972
|
attr_accessor :amount
|
1939
1973
|
|
@@ -1949,7 +1983,9 @@ module Increase
|
|
1949
1983
|
)
|
1950
1984
|
end
|
1951
1985
|
def self.new(
|
1952
|
-
# The amount in minor units of the `currency` field.
|
1986
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1987
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1988
|
+
# subtracted from the amount (such as a discount).
|
1953
1989
|
amount:,
|
1954
1990
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1955
1991
|
# amount's currency.
|
@@ -1127,7 +1127,9 @@ module Increase
|
|
1127
1127
|
)
|
1128
1128
|
end
|
1129
1129
|
|
1130
|
-
# The amount in minor units of the `currency` field.
|
1130
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1131
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1132
|
+
# subtracted from the amount (such as a discount).
|
1131
1133
|
sig { returns(Integer) }
|
1132
1134
|
attr_accessor :amount
|
1133
1135
|
|
@@ -1143,7 +1145,9 @@ module Increase
|
|
1143
1145
|
)
|
1144
1146
|
end
|
1145
1147
|
def self.new(
|
1146
|
-
# The amount in minor units of the `currency` field.
|
1148
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1149
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1150
|
+
# subtracted from the amount (such as a discount).
|
1147
1151
|
amount:,
|
1148
1152
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1149
1153
|
# amount's currency.
|
@@ -1165,7 +1169,9 @@ module Increase
|
|
1165
1169
|
)
|
1166
1170
|
end
|
1167
1171
|
|
1168
|
-
# The amount in minor units of the `currency` field.
|
1172
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1173
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1174
|
+
# subtracted from the amount (such as a discount).
|
1169
1175
|
sig { returns(Integer) }
|
1170
1176
|
attr_accessor :amount
|
1171
1177
|
|
@@ -1181,7 +1187,9 @@ module Increase
|
|
1181
1187
|
)
|
1182
1188
|
end
|
1183
1189
|
def self.new(
|
1184
|
-
# The amount in minor units of the `currency` field.
|
1190
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1191
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1192
|
+
# subtracted from the amount (such as a discount).
|
1185
1193
|
amount:,
|
1186
1194
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1187
1195
|
# amount's currency.
|
@@ -1203,7 +1211,9 @@ module Increase
|
|
1203
1211
|
)
|
1204
1212
|
end
|
1205
1213
|
|
1206
|
-
# The amount in minor units of the `currency` field.
|
1214
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1215
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1216
|
+
# subtracted from the amount (such as a discount).
|
1207
1217
|
sig { returns(Integer) }
|
1208
1218
|
attr_accessor :amount
|
1209
1219
|
|
@@ -1219,7 +1229,9 @@ module Increase
|
|
1219
1229
|
)
|
1220
1230
|
end
|
1221
1231
|
def self.new(
|
1222
|
-
# The amount in minor units of the `currency` field.
|
1232
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1233
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1234
|
+
# subtracted from the amount (such as a discount).
|
1223
1235
|
amount:,
|
1224
1236
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1225
1237
|
# amount's currency.
|
@@ -1241,7 +1253,9 @@ module Increase
|
|
1241
1253
|
)
|
1242
1254
|
end
|
1243
1255
|
|
1244
|
-
# The amount in minor units of the `currency` field.
|
1256
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1257
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1258
|
+
# subtracted from the amount (such as a discount).
|
1245
1259
|
sig { returns(Integer) }
|
1246
1260
|
attr_accessor :amount
|
1247
1261
|
|
@@ -1257,7 +1271,9 @@ module Increase
|
|
1257
1271
|
)
|
1258
1272
|
end
|
1259
1273
|
def self.new(
|
1260
|
-
# The amount in minor units of the `currency` field.
|
1274
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1275
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1276
|
+
# subtracted from the amount (such as a discount).
|
1261
1277
|
amount:,
|
1262
1278
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1263
1279
|
# amount's currency.
|
@@ -1279,7 +1295,9 @@ module Increase
|
|
1279
1295
|
)
|
1280
1296
|
end
|
1281
1297
|
|
1282
|
-
# The amount in minor units of the `currency` field.
|
1298
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1299
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1300
|
+
# subtracted from the amount (such as a discount).
|
1283
1301
|
sig { returns(Integer) }
|
1284
1302
|
attr_accessor :amount
|
1285
1303
|
|
@@ -1295,7 +1313,9 @@ module Increase
|
|
1295
1313
|
)
|
1296
1314
|
end
|
1297
1315
|
def self.new(
|
1298
|
-
# The amount in minor units of the `currency` field.
|
1316
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1317
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1318
|
+
# subtracted from the amount (such as a discount).
|
1299
1319
|
amount:,
|
1300
1320
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1301
1321
|
# amount's currency.
|
@@ -1317,7 +1337,9 @@ module Increase
|
|
1317
1337
|
)
|
1318
1338
|
end
|
1319
1339
|
|
1320
|
-
# The amount in minor units of the `currency` field.
|
1340
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1341
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1342
|
+
# subtracted from the amount (such as a discount).
|
1321
1343
|
sig { returns(Integer) }
|
1322
1344
|
attr_accessor :amount
|
1323
1345
|
|
@@ -1333,7 +1355,9 @@ module Increase
|
|
1333
1355
|
)
|
1334
1356
|
end
|
1335
1357
|
def self.new(
|
1336
|
-
# The amount in minor units of the `currency` field.
|
1358
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1359
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1360
|
+
# subtracted from the amount (such as a discount).
|
1337
1361
|
amount:,
|
1338
1362
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1339
1363
|
# amount's currency.
|
@@ -1355,7 +1379,9 @@ module Increase
|
|
1355
1379
|
)
|
1356
1380
|
end
|
1357
1381
|
|
1358
|
-
# The amount in minor units of the `currency` field.
|
1382
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1383
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1384
|
+
# subtracted from the amount (such as a discount).
|
1359
1385
|
sig { returns(Integer) }
|
1360
1386
|
attr_accessor :amount
|
1361
1387
|
|
@@ -1371,7 +1397,9 @@ module Increase
|
|
1371
1397
|
)
|
1372
1398
|
end
|
1373
1399
|
def self.new(
|
1374
|
-
# The amount in minor units of the `currency` field.
|
1400
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1401
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1402
|
+
# subtracted from the amount (such as a discount).
|
1375
1403
|
amount:,
|
1376
1404
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1377
1405
|
# amount's currency.
|
@@ -1393,7 +1421,9 @@ module Increase
|
|
1393
1421
|
)
|
1394
1422
|
end
|
1395
1423
|
|
1396
|
-
# The amount in minor units of the `currency` field.
|
1424
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1425
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1426
|
+
# subtracted from the amount (such as a discount).
|
1397
1427
|
sig { returns(Integer) }
|
1398
1428
|
attr_accessor :amount
|
1399
1429
|
|
@@ -1409,7 +1439,9 @@ module Increase
|
|
1409
1439
|
)
|
1410
1440
|
end
|
1411
1441
|
def self.new(
|
1412
|
-
# The amount in minor units of the `currency` field.
|
1442
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1443
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1444
|
+
# subtracted from the amount (such as a discount).
|
1413
1445
|
amount:,
|
1414
1446
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1415
1447
|
# amount's currency.
|
@@ -1431,7 +1463,9 @@ module Increase
|
|
1431
1463
|
)
|
1432
1464
|
end
|
1433
1465
|
|
1434
|
-
# The amount in minor units of the `currency` field.
|
1466
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1467
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1468
|
+
# subtracted from the amount (such as a discount).
|
1435
1469
|
sig { returns(Integer) }
|
1436
1470
|
attr_accessor :amount
|
1437
1471
|
|
@@ -1447,7 +1481,9 @@ module Increase
|
|
1447
1481
|
)
|
1448
1482
|
end
|
1449
1483
|
def self.new(
|
1450
|
-
# The amount in minor units of the `currency` field.
|
1484
|
+
# The amount in minor units of the `currency` field. The amount is positive if it
|
1485
|
+
# is added to the amount (such as an ATM surcharge fee) and negative if it is
|
1486
|
+
# subtracted from the amount (such as a discount).
|
1451
1487
|
amount:,
|
1452
1488
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional
|
1453
1489
|
# amount's currency.
|
@@ -15,16 +15,19 @@ module Increase
|
|
15
15
|
).returns(Increase::AccountTransfer)
|
16
16
|
end
|
17
17
|
def create(
|
18
|
-
# The identifier for the
|
18
|
+
# The identifier for the originating Account that will send the transfer.
|
19
19
|
account_id:,
|
20
20
|
# The transfer amount in the minor unit of the account currency. For dollars, for
|
21
21
|
# example, this is cents.
|
22
22
|
amount:,
|
23
|
-
#
|
23
|
+
# An internal-facing description for the transfer for display in the API and
|
24
|
+
# dashboard. This will also show in the description of the created Transactions.
|
24
25
|
description:,
|
25
|
-
# The identifier for the
|
26
|
+
# The identifier for the destination Account that will receive the transfer.
|
26
27
|
destination_account_id:,
|
27
|
-
# Whether the transfer
|
28
|
+
# Whether the transfer should require explicit approval via the dashboard or API.
|
29
|
+
# For more information, see
|
30
|
+
# [Transfer Approvals](/documentation/transfer-approvals).
|
28
31
|
require_approval: nil,
|
29
32
|
request_options: {}
|
30
33
|
)
|
@@ -73,7 +76,7 @@ module Increase
|
|
73
76
|
)
|
74
77
|
end
|
75
78
|
|
76
|
-
#
|
79
|
+
# Approves an Account Transfer in status `pending_approval`.
|
77
80
|
sig do
|
78
81
|
params(
|
79
82
|
account_transfer_id: String,
|
@@ -87,7 +90,7 @@ module Increase
|
|
87
90
|
)
|
88
91
|
end
|
89
92
|
|
90
|
-
#
|
93
|
+
# Cancels an Account Transfer in status `pending_approval`.
|
91
94
|
sig do
|
92
95
|
params(
|
93
96
|
account_transfer_id: String,
|