authorizenet 1.8.6 → 1.8.7
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/lib/authorize_net/api/schema.rb +199 -177
- data/lib/authorize_net/api/transaction.rb +31 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cdf3f3839b575cef150c8fa37619db75844a531
|
4
|
+
data.tar.gz: 57aba6523e3b3ecf3be1e75f7d673ded9dbf3aec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0410c6cd90a10dd09b539d15bc7ff6f616bb6474a7c0ff897f512892d885ba2330f2b2248df9e7130c2f6799f5877ac35d0d164f89c73d2ab8cb0472676ca1f2
|
7
|
+
data.tar.gz: 2d67be5b8b4ae2f2638ac4dfba3b587d232181a75f2d98948ee76d19b503b51683724c27ec1ce934d2e092b858d3bb3cd873b800028facf7b9681581ed542a47
|
@@ -24,14 +24,6 @@ module AuthorizeNet::API
|
|
24
24
|
class ArrayOfBatchStatisticType < ::Array
|
25
25
|
end
|
26
26
|
|
27
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchDetailsType
|
28
|
-
class ArrayOfBatchDetailsType < ::Array
|
29
|
-
end
|
30
|
-
|
31
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfTransactionSummaryType
|
32
|
-
class ArrayOfTransactionSummaryType < ::Array
|
33
|
-
end
|
34
|
-
|
35
27
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSetting
|
36
28
|
class ArrayOfSetting < ::Array
|
37
29
|
end
|
@@ -1094,8 +1086,8 @@ end
|
|
1094
1086
|
xml_accessor :billTo, :as => CustomerAddressType
|
1095
1087
|
xml_accessor :customerProfileId
|
1096
1088
|
xml_accessor :customerPaymentProfileId
|
1097
|
-
xml_accessor :payment
|
1098
|
-
xml_accessor :driversLicense
|
1089
|
+
xml_accessor :payment, :as => PaymentMaskedType
|
1090
|
+
xml_accessor :driversLicense, :as => DriversLicenseMaskedType
|
1099
1091
|
xml_accessor :taxId
|
1100
1092
|
|
1101
1093
|
def initialize(customerType = nil, billTo = nil, customerProfileId = nil, customerPaymentProfileId = nil, payment = nil, driversLicense = nil, taxId = nil)
|
@@ -1642,7 +1634,175 @@ end
|
|
1642
1634
|
@hasReturnedItems = hasReturnedItems
|
1643
1635
|
end
|
1644
1636
|
end
|
1637
|
+
|
1638
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfTransactionSummaryType
|
1639
|
+
class ArrayOfTransactionSummaryType < ::Array
|
1640
|
+
include ROXML
|
1641
|
+
xml_accessor :transaction, :as => [TransactionSummaryType]
|
1642
|
+
|
1643
|
+
def initialize(transaction = [])
|
1644
|
+
@transaction = transaction
|
1645
|
+
end
|
1646
|
+
end
|
1647
|
+
|
1648
|
+
|
1649
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchStatisticType
|
1650
|
+
# accountType - SOAP::SOAPString
|
1651
|
+
# chargeAmount - SOAP::SOAPDecimal
|
1652
|
+
# chargeCount - SOAP::SOAPInt
|
1653
|
+
# refundAmount - SOAP::SOAPDecimal
|
1654
|
+
# refundCount - SOAP::SOAPInt
|
1655
|
+
# voidCount - SOAP::SOAPInt
|
1656
|
+
# declineCount - SOAP::SOAPInt
|
1657
|
+
# errorCount - SOAP::SOAPInt
|
1658
|
+
# returnedItemAmount - SOAP::SOAPDecimal
|
1659
|
+
# returnedItemCount - SOAP::SOAPInt
|
1660
|
+
# chargebackAmount - SOAP::SOAPDecimal
|
1661
|
+
# chargebackCount - SOAP::SOAPInt
|
1662
|
+
# correctionNoticeCount - SOAP::SOAPInt
|
1663
|
+
# chargeChargeBackAmount - SOAP::SOAPDecimal
|
1664
|
+
# chargeChargeBackCount - SOAP::SOAPInt
|
1665
|
+
# refundChargeBackAmount - SOAP::SOAPDecimal
|
1666
|
+
# refundChargeBackCount - SOAP::SOAPInt
|
1667
|
+
# chargeReturnedItemsAmount - SOAP::SOAPDecimal
|
1668
|
+
# chargeReturnedItemsCount - SOAP::SOAPInt
|
1669
|
+
# refundReturnedItemsAmount - SOAP::SOAPDecimal
|
1670
|
+
# refundReturnedItemsCount - SOAP::SOAPInt
|
1671
|
+
class BatchStatisticType
|
1672
|
+
include ROXML
|
1673
|
+
xml_accessor :accountType
|
1674
|
+
xml_accessor :chargeAmount
|
1675
|
+
xml_accessor :chargeCount
|
1676
|
+
xml_accessor :refundAmount
|
1677
|
+
xml_accessor :refundCount
|
1678
|
+
xml_accessor :voidCount
|
1679
|
+
xml_accessor :declineCount
|
1680
|
+
xml_accessor :errorCount
|
1681
|
+
xml_accessor :returnedItemAmount
|
1682
|
+
xml_accessor :returnedItemCount
|
1683
|
+
xml_accessor :chargebackAmount
|
1684
|
+
xml_accessor :chargebackCount
|
1685
|
+
xml_accessor :correctionNoticeCount
|
1686
|
+
xml_accessor :chargeChargeBackAmount
|
1687
|
+
xml_accessor :chargeChargeBackCount
|
1688
|
+
xml_accessor :refundChargeBackAmount
|
1689
|
+
xml_accessor :refundChargeBackCount
|
1690
|
+
xml_accessor :chargeReturnedItemsAmount
|
1691
|
+
xml_accessor :chargeReturnedItemsCount
|
1692
|
+
xml_accessor :refundReturnedItemsAmount
|
1693
|
+
xml_accessor :refundReturnedItemsCount
|
1645
1694
|
|
1695
|
+
def initialize(accountType = nil, chargeAmount = nil, chargeCount = nil, refundAmount = nil, refundCount = nil, voidCount = nil, declineCount = nil, errorCount = nil, returnedItemAmount = nil, returnedItemCount = nil, chargebackAmount = nil, chargebackCount = nil, correctionNoticeCount = nil, chargeChargeBackAmount = nil, chargeChargeBackCount = nil, refundChargeBackAmount = nil, refundChargeBackCount = nil, chargeReturnedItemsAmount = nil, chargeReturnedItemsCount = nil, refundReturnedItemsAmount = nil, refundReturnedItemsCount = nil)
|
1696
|
+
@accountType = accountType
|
1697
|
+
@chargeAmount = chargeAmount
|
1698
|
+
@chargeCount = chargeCount
|
1699
|
+
@refundAmount = refundAmount
|
1700
|
+
@refundCount = refundCount
|
1701
|
+
@voidCount = voidCount
|
1702
|
+
@declineCount = declineCount
|
1703
|
+
@errorCount = errorCount
|
1704
|
+
@returnedItemAmount = returnedItemAmount
|
1705
|
+
@returnedItemCount = returnedItemCount
|
1706
|
+
@chargebackAmount = chargebackAmount
|
1707
|
+
@chargebackCount = chargebackCount
|
1708
|
+
@correctionNoticeCount = correctionNoticeCount
|
1709
|
+
@chargeChargeBackAmount = chargeChargeBackAmount
|
1710
|
+
@chargeChargeBackCount = chargeChargeBackCount
|
1711
|
+
@refundChargeBackAmount = refundChargeBackAmount
|
1712
|
+
@refundChargeBackCount = refundChargeBackCount
|
1713
|
+
@chargeReturnedItemsAmount = chargeReturnedItemsAmount
|
1714
|
+
@chargeReturnedItemsCount = chargeReturnedItemsCount
|
1715
|
+
@refundReturnedItemsAmount = refundReturnedItemsAmount
|
1716
|
+
@refundReturnedItemsCount = refundReturnedItemsCount
|
1717
|
+
end
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchDetailsType
|
1721
|
+
# batchId - (any)
|
1722
|
+
# settlementTimeUTC - SOAP::SOAPDateTime
|
1723
|
+
# settlementTimeLocal - SOAP::SOAPDateTime
|
1724
|
+
# settlementState - SOAP::SOAPString
|
1725
|
+
# paymentMethod - SOAP::SOAPString
|
1726
|
+
# marketType - SOAP::SOAPString
|
1727
|
+
# product - SOAP::SOAPString
|
1728
|
+
# statistics - ArrayOfBatchStatisticType
|
1729
|
+
class BatchDetailsType
|
1730
|
+
include ROXML
|
1731
|
+
xml_accessor :batchId
|
1732
|
+
xml_accessor :settlementTimeUTC
|
1733
|
+
xml_accessor :settlementTimeLocal
|
1734
|
+
xml_accessor :settlementState
|
1735
|
+
xml_accessor :paymentMethod
|
1736
|
+
xml_accessor :marketType
|
1737
|
+
xml_accessor :product
|
1738
|
+
xml_accessor :statistics, :as => [BatchStatisticType]
|
1739
|
+
|
1740
|
+
def initialize(batchId = nil, settlementTimeUTC = nil, settlementTimeLocal = nil, settlementState = nil, paymentMethod = nil, marketType = nil, product = nil, statistics = nil)
|
1741
|
+
@batchId = batchId
|
1742
|
+
@settlementTimeUTC = settlementTimeUTC
|
1743
|
+
@settlementTimeLocal = settlementTimeLocal
|
1744
|
+
@settlementState = settlementState
|
1745
|
+
@paymentMethod = paymentMethod
|
1746
|
+
@marketType = marketType
|
1747
|
+
@product = product
|
1748
|
+
@statistics = statistics
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfBatchDetailsType
|
1753
|
+
class ArrayOfBatchDetailsType < ::Array
|
1754
|
+
include ROXML
|
1755
|
+
xml_accessor :batch, :as => [BatchDetailsType]
|
1756
|
+
|
1757
|
+
def initialize(batch = [])
|
1758
|
+
@batch = batch
|
1759
|
+
end
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}returnedItemType
|
1763
|
+
# id - (any)
|
1764
|
+
# dateUTC - SOAP::SOAPDateTime
|
1765
|
+
# dateLocal - SOAP::SOAPDateTime
|
1766
|
+
# code - SOAP::SOAPString
|
1767
|
+
# description - SOAP::SOAPString
|
1768
|
+
class ReturnedItemType
|
1769
|
+
include ROXML
|
1770
|
+
xml_accessor :id
|
1771
|
+
xml_accessor :dateUTC
|
1772
|
+
xml_accessor :dateLocal
|
1773
|
+
xml_accessor :code
|
1774
|
+
xml_accessor :description
|
1775
|
+
|
1776
|
+
def initialize(id = nil, dateUTC = nil, dateLocal = nil, code = nil, description = nil)
|
1777
|
+
@id = id
|
1778
|
+
@dateUTC = dateUTC
|
1779
|
+
@dateLocal = dateLocal
|
1780
|
+
@code = code
|
1781
|
+
@description = description
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfReturnedItem
|
1786
|
+
class ArrayOfReturnedItem < ::Array
|
1787
|
+
include ROXML
|
1788
|
+
xml_accessor :returnedItem, :as => [ReturnedItemType]
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterType
|
1792
|
+
# name - SOAP::SOAPString
|
1793
|
+
# action - SOAP::SOAPString
|
1794
|
+
class FDSFilterType
|
1795
|
+
include ROXML
|
1796
|
+
xml_accessor :name
|
1797
|
+
xml_accessor :action
|
1798
|
+
|
1799
|
+
def initialize(name = nil, action = nil)
|
1800
|
+
@name = name
|
1801
|
+
@action = action
|
1802
|
+
end
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
|
1646
1806
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionDetailsType
|
1647
1807
|
# transId - (any)
|
1648
1808
|
# refTransId - (any)
|
@@ -1702,8 +1862,8 @@ end
|
|
1702
1862
|
xml_accessor :cAVVResponse
|
1703
1863
|
xml_accessor :fDSFilterAction
|
1704
1864
|
xml_accessor :fDSFilters
|
1705
|
-
xml_accessor :batch
|
1706
|
-
xml_accessor :order
|
1865
|
+
xml_accessor :batch, :as => BatchDetailsType
|
1866
|
+
xml_accessor :order, :as => OrderExType
|
1707
1867
|
xml_accessor :requestedAmount
|
1708
1868
|
xml_accessor :authAmount
|
1709
1869
|
xml_accessor :settleAmount
|
@@ -1713,16 +1873,16 @@ end
|
|
1713
1873
|
xml_accessor :lineItems
|
1714
1874
|
xml_accessor :prepaidBalanceRemaining
|
1715
1875
|
xml_accessor :taxExempt
|
1716
|
-
xml_accessor :payment
|
1717
|
-
xml_accessor :customer
|
1718
|
-
xml_accessor :billTo
|
1719
|
-
xml_accessor :shipTo
|
1876
|
+
xml_accessor :payment, :as => PaymentMaskedType
|
1877
|
+
xml_accessor :customer, :as => CustomerDataType
|
1878
|
+
xml_accessor :billTo, :as => CustomerAddressType
|
1879
|
+
xml_accessor :shipTo, :as => NameAndAddressType
|
1720
1880
|
xml_accessor :recurringBilling
|
1721
1881
|
xml_accessor :customerIP
|
1722
1882
|
xml_accessor :product
|
1723
1883
|
xml_accessor :marketType
|
1724
1884
|
xml_accessor :mobileDeviceId
|
1725
|
-
xml_accessor :returnedItems
|
1885
|
+
xml_accessor :returnedItems, :as => ArrayOfReturnedItem
|
1726
1886
|
xml_accessor :solution
|
1727
1887
|
|
1728
1888
|
def initialize(transId = nil, refTransId = nil, splitTenderId = nil, submitTimeUTC = nil, submitTimeLocal = nil, transactionType = nil, transactionStatus = nil, responseCode = nil, responseReasonCode = nil, subscription = nil, responseReasonDescription = nil, authCode = nil, aVSResponse = nil, cardCodeResponse = nil, cAVVResponse = nil, fDSFilterAction = nil, fDSFilters = nil, batch = nil, order = nil, requestedAmount = nil, authAmount = nil, settleAmount = nil, tax = nil, shipping = nil, duty = nil, lineItems = nil, prepaidBalanceRemaining = nil, taxExempt = nil, payment = nil, customer = nil, billTo = nil, shipTo = nil, recurringBilling = nil, customerIP = nil, product = nil, marketType = nil, mobileDeviceId = nil, returnedItems = nil, solution = nil)
|
@@ -1781,154 +1941,8 @@ end
|
|
1781
1941
|
@name = name
|
1782
1942
|
end
|
1783
1943
|
end
|
1784
|
-
|
1785
|
-
|
1786
|
-
class ArrayOfReturnedItem < ::Array
|
1787
|
-
end
|
1788
|
-
|
1789
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}returnedItemType
|
1790
|
-
# id - (any)
|
1791
|
-
# dateUTC - SOAP::SOAPDateTime
|
1792
|
-
# dateLocal - SOAP::SOAPDateTime
|
1793
|
-
# code - SOAP::SOAPString
|
1794
|
-
# description - SOAP::SOAPString
|
1795
|
-
class ReturnedItemType
|
1796
|
-
include ROXML
|
1797
|
-
xml_accessor :id
|
1798
|
-
xml_accessor :dateUTC
|
1799
|
-
xml_accessor :dateLocal
|
1800
|
-
xml_accessor :code
|
1801
|
-
xml_accessor :description
|
1802
|
-
|
1803
|
-
def initialize(id = nil, dateUTC = nil, dateLocal = nil, code = nil, description = nil)
|
1804
|
-
@id = id
|
1805
|
-
@dateUTC = dateUTC
|
1806
|
-
@dateLocal = dateLocal
|
1807
|
-
@code = code
|
1808
|
-
@description = description
|
1809
|
-
end
|
1810
|
-
end
|
1811
|
-
|
1812
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}FDSFilterType
|
1813
|
-
# name - SOAP::SOAPString
|
1814
|
-
# action - SOAP::SOAPString
|
1815
|
-
class FDSFilterType
|
1816
|
-
include ROXML
|
1817
|
-
xml_accessor :name
|
1818
|
-
xml_accessor :action
|
1819
|
-
|
1820
|
-
def initialize(name = nil, action = nil)
|
1821
|
-
@name = name
|
1822
|
-
@action = action
|
1823
|
-
end
|
1824
|
-
end
|
1825
|
-
|
1826
|
-
|
1827
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchStatisticType
|
1828
|
-
# accountType - SOAP::SOAPString
|
1829
|
-
# chargeAmount - SOAP::SOAPDecimal
|
1830
|
-
# chargeCount - SOAP::SOAPInt
|
1831
|
-
# refundAmount - SOAP::SOAPDecimal
|
1832
|
-
# refundCount - SOAP::SOAPInt
|
1833
|
-
# voidCount - SOAP::SOAPInt
|
1834
|
-
# declineCount - SOAP::SOAPInt
|
1835
|
-
# errorCount - SOAP::SOAPInt
|
1836
|
-
# returnedItemAmount - SOAP::SOAPDecimal
|
1837
|
-
# returnedItemCount - SOAP::SOAPInt
|
1838
|
-
# chargebackAmount - SOAP::SOAPDecimal
|
1839
|
-
# chargebackCount - SOAP::SOAPInt
|
1840
|
-
# correctionNoticeCount - SOAP::SOAPInt
|
1841
|
-
# chargeChargeBackAmount - SOAP::SOAPDecimal
|
1842
|
-
# chargeChargeBackCount - SOAP::SOAPInt
|
1843
|
-
# refundChargeBackAmount - SOAP::SOAPDecimal
|
1844
|
-
# refundChargeBackCount - SOAP::SOAPInt
|
1845
|
-
# chargeReturnedItemsAmount - SOAP::SOAPDecimal
|
1846
|
-
# chargeReturnedItemsCount - SOAP::SOAPInt
|
1847
|
-
# refundReturnedItemsAmount - SOAP::SOAPDecimal
|
1848
|
-
# refundReturnedItemsCount - SOAP::SOAPInt
|
1849
|
-
class BatchStatisticType
|
1850
|
-
include ROXML
|
1851
|
-
xml_accessor :accountType
|
1852
|
-
xml_accessor :chargeAmount
|
1853
|
-
xml_accessor :chargeCount
|
1854
|
-
xml_accessor :refundAmount
|
1855
|
-
xml_accessor :refundCount
|
1856
|
-
xml_accessor :voidCount
|
1857
|
-
xml_accessor :declineCount
|
1858
|
-
xml_accessor :errorCount
|
1859
|
-
xml_accessor :returnedItemAmount
|
1860
|
-
xml_accessor :returnedItemCount
|
1861
|
-
xml_accessor :chargebackAmount
|
1862
|
-
xml_accessor :chargebackCount
|
1863
|
-
xml_accessor :correctionNoticeCount
|
1864
|
-
xml_accessor :chargeChargeBackAmount
|
1865
|
-
xml_accessor :chargeChargeBackCount
|
1866
|
-
xml_accessor :refundChargeBackAmount
|
1867
|
-
xml_accessor :refundChargeBackCount
|
1868
|
-
xml_accessor :chargeReturnedItemsAmount
|
1869
|
-
xml_accessor :chargeReturnedItemsCount
|
1870
|
-
xml_accessor :refundReturnedItemsAmount
|
1871
|
-
xml_accessor :refundReturnedItemsCount
|
1872
|
-
|
1873
|
-
def initialize(accountType = nil, chargeAmount = nil, chargeCount = nil, refundAmount = nil, refundCount = nil, voidCount = nil, declineCount = nil, errorCount = nil, returnedItemAmount = nil, returnedItemCount = nil, chargebackAmount = nil, chargebackCount = nil, correctionNoticeCount = nil, chargeChargeBackAmount = nil, chargeChargeBackCount = nil, refundChargeBackAmount = nil, refundChargeBackCount = nil, chargeReturnedItemsAmount = nil, chargeReturnedItemsCount = nil, refundReturnedItemsAmount = nil, refundReturnedItemsCount = nil)
|
1874
|
-
@accountType = accountType
|
1875
|
-
@chargeAmount = chargeAmount
|
1876
|
-
@chargeCount = chargeCount
|
1877
|
-
@refundAmount = refundAmount
|
1878
|
-
@refundCount = refundCount
|
1879
|
-
@voidCount = voidCount
|
1880
|
-
@declineCount = declineCount
|
1881
|
-
@errorCount = errorCount
|
1882
|
-
@returnedItemAmount = returnedItemAmount
|
1883
|
-
@returnedItemCount = returnedItemCount
|
1884
|
-
@chargebackAmount = chargebackAmount
|
1885
|
-
@chargebackCount = chargebackCount
|
1886
|
-
@correctionNoticeCount = correctionNoticeCount
|
1887
|
-
@chargeChargeBackAmount = chargeChargeBackAmount
|
1888
|
-
@chargeChargeBackCount = chargeChargeBackCount
|
1889
|
-
@refundChargeBackAmount = refundChargeBackAmount
|
1890
|
-
@refundChargeBackCount = refundChargeBackCount
|
1891
|
-
@chargeReturnedItemsAmount = chargeReturnedItemsAmount
|
1892
|
-
@chargeReturnedItemsCount = chargeReturnedItemsCount
|
1893
|
-
@refundReturnedItemsAmount = refundReturnedItemsAmount
|
1894
|
-
@refundReturnedItemsCount = refundReturnedItemsCount
|
1895
|
-
end
|
1896
|
-
end
|
1897
|
-
|
1898
|
-
|
1899
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}batchDetailsType
|
1900
|
-
# batchId - (any)
|
1901
|
-
# settlementTimeUTC - SOAP::SOAPDateTime
|
1902
|
-
# settlementTimeLocal - SOAP::SOAPDateTime
|
1903
|
-
# settlementState - SOAP::SOAPString
|
1904
|
-
# paymentMethod - SOAP::SOAPString
|
1905
|
-
# marketType - SOAP::SOAPString
|
1906
|
-
# product - SOAP::SOAPString
|
1907
|
-
# statistics - ArrayOfBatchStatisticType
|
1908
|
-
class BatchDetailsType
|
1909
|
-
include ROXML
|
1910
|
-
xml_accessor :batchId
|
1911
|
-
xml_accessor :settlementTimeUTC
|
1912
|
-
xml_accessor :settlementTimeLocal
|
1913
|
-
xml_accessor :settlementState
|
1914
|
-
xml_accessor :paymentMethod
|
1915
|
-
xml_accessor :marketType
|
1916
|
-
xml_accessor :product
|
1917
|
-
xml_accessor :statistics, :as => [BatchStatisticType]
|
1918
|
-
|
1919
|
-
def initialize(batchId = nil, settlementTimeUTC = nil, settlementTimeLocal = nil, settlementState = nil, paymentMethod = nil, marketType = nil, product = nil, statistics = nil)
|
1920
|
-
@batchId = batchId
|
1921
|
-
@settlementTimeUTC = settlementTimeUTC
|
1922
|
-
@settlementTimeLocal = settlementTimeLocal
|
1923
|
-
@settlementState = settlementState
|
1924
|
-
@paymentMethod = paymentMethod
|
1925
|
-
@marketType = marketType
|
1926
|
-
@product = product
|
1927
|
-
@statistics = statistics
|
1928
|
-
end
|
1929
|
-
end
|
1930
|
-
|
1931
|
-
|
1944
|
+
|
1945
|
+
|
1932
1946
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}transactionResponse
|
1933
1947
|
# responseCode - SOAP::SOAPString
|
1934
1948
|
# rawResponseCode - SOAP::SOAPString
|
@@ -2241,11 +2255,7 @@ end
|
|
2241
2255
|
@orderDescending = orderDescending
|
2242
2256
|
end
|
2243
2257
|
end
|
2244
|
-
|
2245
|
-
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription
|
2246
|
-
class ArrayOfSubscription < ::Array
|
2247
|
-
end
|
2248
|
-
|
2258
|
+
|
2249
2259
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}SubscriptionDetail
|
2250
2260
|
# id - SOAP::SOAPInt
|
2251
2261
|
# name - SOAP::SOAPString
|
@@ -2302,6 +2312,18 @@ end
|
|
2302
2312
|
end
|
2303
2313
|
end
|
2304
2314
|
|
2315
|
+
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}ArrayOfSubscription
|
2316
|
+
class ArrayOfSubscription < ::Array
|
2317
|
+
include ROXML
|
2318
|
+
xml_accessor :subscriptionDetail, :as => [SubscriptionDetail]
|
2319
|
+
|
2320
|
+
def initialize(subscriptionDetail = [])
|
2321
|
+
@subscriptionDetail = subscriptionDetail
|
2322
|
+
end
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
|
2326
|
+
|
2305
2327
|
# {AnetApi/xml/v1/schema/AnetApiSchema.xsd}searchCriteriaCustomerProfileType
|
2306
2328
|
# merchantCustomerId - SOAP::SOAPString
|
2307
2329
|
# email - SOAP::SOAPString
|
@@ -2996,7 +3018,7 @@ end
|
|
2996
3018
|
xml_accessor :refId
|
2997
3019
|
xml_accessor :messages, :as => MessagesType
|
2998
3020
|
xml_accessor :sessionToken
|
2999
|
-
xml_accessor :paymentProfile
|
3021
|
+
xml_accessor :paymentProfile, :as => CustomerPaymentProfileMaskedType
|
3000
3022
|
|
3001
3023
|
def initialize(refId = nil, messages = nil, sessionToken = nil, paymentProfile = nil)
|
3002
3024
|
@refId = refId
|
@@ -3458,7 +3480,7 @@ end
|
|
3458
3480
|
xml_accessor :refId
|
3459
3481
|
xml_accessor :messages, :as => MessagesType
|
3460
3482
|
xml_accessor :sessionToken
|
3461
|
-
xml_accessor :transaction
|
3483
|
+
xml_accessor :transaction, :as => TransactionDetailsType
|
3462
3484
|
|
3463
3485
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transaction = nil)
|
3464
3486
|
@refId = refId
|
@@ -3513,7 +3535,7 @@ end
|
|
3513
3535
|
# includeStatistics - SOAP::SOAPBoolean
|
3514
3536
|
# firstSettlementDate - SOAP::SOAPDateTime
|
3515
3537
|
# lastSettlementDate - SOAP::SOAPDateTime
|
3516
|
-
class GetSettledBatchListRequest
|
3538
|
+
class GetSettledBatchListRequest
|
3517
3539
|
include ROXML
|
3518
3540
|
xml_accessor :merchantAuthentication
|
3519
3541
|
xml_accessor :refId
|
@@ -3540,7 +3562,7 @@ end
|
|
3540
3562
|
xml_accessor :refId
|
3541
3563
|
xml_accessor :messages, :as => MessagesType
|
3542
3564
|
xml_accessor :sessionToken
|
3543
|
-
xml_accessor :batchList
|
3565
|
+
xml_accessor :batchList, :as => ArrayOfBatchDetailsType
|
3544
3566
|
|
3545
3567
|
def initialize(refId = nil, messages = nil, sessionToken = nil, batchList = nil)
|
3546
3568
|
@refId = refId
|
@@ -3646,12 +3668,12 @@ end
|
|
3646
3668
|
# messages - MessagesType
|
3647
3669
|
# sessionToken - SOAP::SOAPString
|
3648
3670
|
# transactions - ArrayOfTransactionSummaryType
|
3649
|
-
class GetUnsettledTransactionListResponse
|
3671
|
+
class GetUnsettledTransactionListResponse
|
3650
3672
|
include ROXML
|
3651
3673
|
xml_accessor :refId
|
3652
3674
|
xml_accessor :messages, :as => MessagesType
|
3653
3675
|
xml_accessor :sessionToken
|
3654
|
-
xml_accessor :transactions
|
3676
|
+
xml_accessor :transactions, :as => ArrayOfTransactionSummaryType
|
3655
3677
|
|
3656
3678
|
def initialize(refId = nil, messages = nil, sessionToken = nil, transactions = nil)
|
3657
3679
|
@refId = refId
|
@@ -3841,7 +3863,7 @@ end
|
|
3841
3863
|
xml_accessor :messages, :as => MessagesType
|
3842
3864
|
xml_accessor :sessionToken
|
3843
3865
|
xml_accessor :totalNumInResultSet
|
3844
|
-
xml_accessor :subscriptionDetails
|
3866
|
+
xml_accessor :subscriptionDetails, :as => ArrayOfSubscription
|
3845
3867
|
|
3846
3868
|
def initialize(refId = nil, messages = nil, sessionToken = nil, totalNumInResultSet = nil, subscriptionDetails = nil)
|
3847
3869
|
@refId = refId
|
@@ -179,8 +179,29 @@ module AuthorizeNet::API
|
|
179
179
|
def get_batch_statistics(request)
|
180
180
|
make_request(request,GetBatchStatisticsResponse,Type::API_GET_BATCH_STATISTICS)
|
181
181
|
end
|
182
|
-
|
183
|
-
|
182
|
+
|
183
|
+
# This request enables you to get batch transaction details
|
184
|
+
#
|
185
|
+
# See spec/api_spec.rb for usage examples
|
186
|
+
def get_transaction_details(request)
|
187
|
+
make_request(request,GetTransactionDetailsResponse,Type::API_GET_TRANSACTION_DETAILS)
|
188
|
+
end
|
189
|
+
|
190
|
+
# This request enables you to get batch settled transaction details
|
191
|
+
#
|
192
|
+
# See spec/api_spec.rb for usage examples
|
193
|
+
def get_settled_batch_list(request)
|
194
|
+
make_request(request,GetSettledBatchListResponse,Type::API_GET_SETTLED_BATCH_LIST)
|
195
|
+
end
|
196
|
+
|
197
|
+
# This request enables you to get batch unsettled transaction details
|
198
|
+
#
|
199
|
+
# See spec/api_spec.rb for usage examples
|
200
|
+
def get_unsettled_transaction_list(request)
|
201
|
+
make_request(request,GetUnsettledTransactionListResponse,Type::API_GET_UNSETTLED_TRANSACTION_LIST)
|
202
|
+
end
|
203
|
+
|
204
|
+
# This request enables confirm authentication values
|
184
205
|
#
|
185
206
|
# See spec/api_spec.rb for usage examples
|
186
207
|
def get_hosted_profile_page(request)
|
@@ -207,5 +228,13 @@ module AuthorizeNet::API
|
|
207
228
|
def arb_get_subscription_request(request)
|
208
229
|
make_request(request,ARBGetSubscriptionResponse,Type::API_ARB_GET_SUBSCRIPTION_REQUEST)
|
209
230
|
end
|
231
|
+
|
232
|
+
# This request enables you to get transaction list
|
233
|
+
#
|
234
|
+
# See spec/api_spec.rb for usage examples
|
235
|
+
def get_transaction_list(request)
|
236
|
+
make_request(request,GetTransactionListResponse,Type::API_GET_TRANSACTION_LIST)
|
237
|
+
end
|
238
|
+
|
210
239
|
end
|
211
240
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authorizenet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Authorize.Net
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|