mundipagg_sdk 1.0.3 → 1.2.3rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +61 -61
  3. data/lib/gateway/Address/billing_address.rb +34 -32
  4. data/lib/gateway/Address/buyer_address.rb +39 -36
  5. data/lib/gateway/Address/delivery_address.rb +34 -32
  6. data/lib/gateway/BoletoTransaction/boleto_transaction.rb +41 -43
  7. data/lib/gateway/BoletoTransaction/boleto_transaction_options.rb +17 -14
  8. data/lib/gateway/BoletoTransaction/boleto_transaction_report_file.rb +22 -19
  9. data/lib/gateway/CreditCardTransaction/credit_card.rb +30 -29
  10. data/lib/gateway/CreditCardTransaction/credit_card_transaction.rb +33 -31
  11. data/lib/gateway/CreditCardTransaction/credit_card_transaction_options.rb +28 -26
  12. data/lib/gateway/CreditCardTransaction/credit_card_transaction_report_file.rb +31 -28
  13. data/lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb +14 -11
  14. data/lib/gateway/CreditCardTransaction/retry_sale_credit_card_transaction.rb +14 -12
  15. data/lib/gateway/Gateway.rb +621 -441
  16. data/lib/gateway/InstantBuyData/create_instant_buy_data_request.rb +31 -0
  17. data/lib/gateway/InstantBuyData/update_instant_buy_data_request.rb +11 -0
  18. data/lib/gateway/Merchant/merchant.rb +12 -10
  19. data/lib/gateway/OnlineDebit/online_debit_transaction_report_file.rb +21 -18
  20. data/lib/gateway/Order/order.rb +13 -10
  21. data/lib/gateway/Order/order_transaction_report_file.rb +8 -5
  22. data/lib/gateway/Parsers/boleto_transaction_parser.rb +33 -30
  23. data/lib/gateway/Parsers/credit_card_transaction_parser.rb +42 -39
  24. data/lib/gateway/Parsers/header_parser.rb +16 -13
  25. data/lib/gateway/Parsers/online_debit_transaction_parser.rb +32 -29
  26. data/lib/gateway/Parsers/trailer_parser.rb +16 -14
  27. data/lib/gateway/Person/buyer.rb +32 -32
  28. data/lib/gateway/Person/create_buyer_request.rb +23 -0
  29. data/lib/gateway/Person/person.rb +48 -46
  30. data/lib/gateway/Recurrency/recurrency.rb +24 -22
  31. data/lib/gateway/Sale/create_sale_request.rb +37 -35
  32. data/lib/gateway/Sale/manage_sale_request.rb +18 -16
  33. data/lib/gateway/Sale/query_sale_request.rb +37 -35
  34. data/lib/gateway/Sale/request_data.rb +21 -19
  35. data/lib/gateway/Sale/retry_sale_options.rb +15 -13
  36. data/lib/gateway/Sale/retry_sale_request.rb +23 -22
  37. data/lib/gateway/Sale/sale_data.rb +30 -32
  38. data/lib/gateway/Sale/sale_order_data.rb +18 -16
  39. data/lib/gateway/SalesOption.rb +19 -17
  40. data/lib/gateway/ShoppingCart/shopping_cart.rb +27 -25
  41. data/lib/gateway/ShoppingCart/shopping_cart_item.rb +24 -22
  42. data/lib/gateway/Trailer.rb +8 -5
  43. data/lib/gateway/header.rb +7 -4
  44. data/lib/gateway/post_notification.rb +31 -28
  45. data/lib/gateway/transaction_report_file.rb +47 -44
  46. data/lib/mundipagg_sdk.rb +62 -70
  47. data/mundipagg_sdk.gemspec +19 -19
  48. data/spec/integration/gateway_spec.rb +1022 -733
  49. data/spec/integration/test_helper.rb +68 -68
  50. metadata +7 -21
  51. data/lib/gateway/AntiFraud/anti_fraud_analysis_result.rb +0 -47
  52. data/lib/gateway/AntiFraud/query_sale_anti_fraud_analysis_data.rb +0 -51
  53. data/lib/gateway/AntiFraud/query_sale_anti_fraud_analysis_history_data.rb +0 -41
  54. data/lib/gateway/BaseRequest.rb +0 -11
  55. data/lib/gateway/BaseResponse.rb +0 -17
  56. data/lib/gateway/BoletoTransaction/boleto_transaction_data.rb +0 -44
  57. data/lib/gateway/BoletoTransaction/boleto_transaction_result.rb +0 -35
  58. data/lib/gateway/CreditCardTransaction/credit_card_transaction_data.rb +0 -104
  59. data/lib/gateway/ErrorItem.rb +0 -17
  60. data/lib/gateway/ErrorReport.rb +0 -18
  61. data/lib/gateway/InstantBuy/credit_card_data.rb +0 -41
  62. data/lib/gateway/InstantBuy/get_instant_buy_data_response.rb +0 -18
  63. data/lib/gateway/Sale/create_sale_response.rb +0 -25
  64. data/lib/gateway/Sale/manage_sale_response.rb +0 -15
  65. data/lib/gateway/Sale/query_sale_response.rb +0 -18
  66. data/lib/gateway/Sale/retry_sale_response.rb +0 -14
  67. data/lib/gateway/address.rb +0 -25
@@ -1,33 +1,31 @@
1
- require_relative 'sale_order_data'
2
- require_relative '../../gateway/AntiFraud/query_sale_anti_fraud_analysis_data'
3
-
4
- class SaleData
5
- # Lista transa��es de cart�o de cr�dito
6
- attr_accessor :CreditCardTransactionDataCollection
7
-
8
- # Lista as transa��es de boleto
9
- attr_accessor :BoletoTransactionDataCollection
10
-
11
- # Dados do pedido
12
- attr_accessor :OrderData
13
-
14
- # Chave do comprador. Utilzada para identificar um comprador no gateway
15
- attr_accessor :BuyerKey
16
-
17
- # Dados de servi�o do antifraude
18
- attr_accessor :AntiFraudAnalysisData
19
-
20
- def initialize
21
- @CreditCardTransactionDataCollection = Array.new
22
- @BoletoTransactionDataCollection = Array.new
23
- @OrderData = SaleOrderData.new
24
- @AntiFraudAnalysisData = QuerySaleAntiFraudAnalysisData.new
25
- end
26
-
27
- def to_json
28
- hash = {}
29
- instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
30
- hash
31
- end
32
-
1
+ require_relative 'sale_order_data'
2
+
3
+ class SaleData
4
+ # Lista transa��es de cart�o de cr�dito
5
+ attr_accessor :CreditCardTransactionDataCollection
6
+
7
+ # Lista as transa��es de boleto
8
+ attr_accessor :BoletoTransactionDataCollection
9
+
10
+ # Dados do pedido
11
+ attr_accessor :OrderData
12
+
13
+ # Chave do comprador. Utilzada para identificar um comprador no gateway
14
+ attr_accessor :BuyerKey
15
+
16
+ # Dados de servi�o do antifraude
17
+ attr_accessor :AntiFraudAnalysisData
18
+
19
+ def initialize
20
+ @CreditCardTransactionDataCollection = Array.new
21
+ @BoletoTransactionDataCollection = Array.new
22
+ @OrderData = SaleOrderData.new
23
+ end
24
+
25
+ def to_json
26
+ hash = {}
27
+ instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
28
+ hash
29
+ end
30
+
33
31
  end
@@ -1,17 +1,19 @@
1
- class SaleOrderData
2
- # N�mero do pedido no sistema da loja
3
- attr_accessor :OrderReference
4
-
5
- # Chave do pedido. Utilizado para identificar o pedido no Gateway
6
- attr_accessor :OrderKey
7
-
8
- # Data de cria��o do pedido no Gateway
9
- attr_accessor :CreateDate
10
-
11
- def to_json
12
- hash = {}
13
- instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
14
- hash
15
- end
16
-
1
+ module Gateway
2
+
3
+ class SaleOrderData
4
+ # N�mero do pedido no sistema da loja
5
+ attr_accessor :OrderReference
6
+
7
+ # Chave do pedido. Utilizado para identificar o pedido no Gateway
8
+ attr_accessor :OrderKey
9
+
10
+ # Data de cria��o do pedido no Gateway
11
+ attr_accessor :CreateDate
12
+
13
+ def to_json
14
+ hash = {}
15
+ instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
16
+ hash
17
+ end
18
+ end
17
19
  end
@@ -1,17 +1,19 @@
1
- class SalesOption
2
-
3
- attr_accessor :IsAntiFraudEnabled
4
-
5
- attr_accessor :AntiFraudServiceCode
6
-
7
- attr_accessor :Retries
8
-
9
- attr_accessor :CurrencyIso
10
-
11
- def to_json
12
- hash = {}
13
- instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
14
- hash
15
- end
16
-
17
- end
1
+ module Gateway
2
+
3
+ class SalesOption
4
+
5
+ attr_accessor :IsAntiFraudEnabled
6
+
7
+ attr_accessor :AntiFraudServiceCode
8
+
9
+ attr_accessor :Retries
10
+
11
+ attr_accessor :CurrencyIso
12
+
13
+ def to_json
14
+ hash = {}
15
+ instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
16
+ hash
17
+ end
18
+ end
19
+ end
@@ -1,26 +1,28 @@
1
- class ShoppingCartCollection
2
-
3
- attr_accessor :FreighCostInCents
4
-
5
- attr_accessor :EstimatedDeliveryDate
6
-
7
- attr_accessor :DeliveryDeadline
8
-
9
- attr_accessor :ShippingCompany
10
-
11
- attr_accessor :DeliveryAddress
12
-
13
- attr_accessor :ShoppingCartItemCollection
14
-
15
- def initialize
16
- @ShoppingCartItemCollection = Array.new
17
- @DeliveryAddress = DeliveryAddress.new
18
- end
19
-
20
- def to_json
21
- hash = {}
22
- instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
23
- hash
24
- end
25
-
1
+ module Gateway
2
+
3
+ class ShoppingCartCollection
4
+
5
+ attr_accessor :FreighCostInCents
6
+
7
+ attr_accessor :EstimatedDeliveryDate
8
+
9
+ attr_accessor :DeliveryDeadline
10
+
11
+ attr_accessor :ShippingCompany
12
+
13
+ attr_accessor :DeliveryAddress
14
+
15
+ attr_accessor :ShoppingCartItemCollection
16
+
17
+ def initialize
18
+ @ShoppingCartItemCollection = Array.new
19
+ @DeliveryAddress = DeliveryAddress.new
20
+ end
21
+
22
+ def to_json
23
+ hash = {}
24
+ instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
25
+ hash
26
+ end
27
+ end
26
28
  end
@@ -1,23 +1,25 @@
1
- class ShoppingCartItemCollection
2
-
3
- attr_accessor :ItemReference
4
-
5
- attr_accessor :Quantity
6
-
7
- attr_accessor :UnitCostInCents
8
-
9
- attr_accessor :TotalCostInCents
10
-
11
- attr_accessor :Name
12
-
13
- attr_accessor :Description
14
-
15
- attr_accessor :DiscountAmountInCents
16
-
17
- def to_json
18
- hash = {}
19
- instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
20
- hash
21
- end
22
-
1
+ module Gateway
2
+
3
+ class ShoppingCartItemCollection
4
+
5
+ attr_accessor :ItemReference
6
+
7
+ attr_accessor :Quantity
8
+
9
+ attr_accessor :UnitCostInCents
10
+
11
+ attr_accessor :TotalCostInCents
12
+
13
+ attr_accessor :Name
14
+
15
+ attr_accessor :Description
16
+
17
+ attr_accessor :DiscountAmountInCents
18
+
19
+ def to_json
20
+ hash = {}
21
+ instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
22
+ hash
23
+ end
24
+ end
23
25
  end
@@ -1,6 +1,9 @@
1
- class Trailer
2
- attr_accessor :OrderDataCount
3
- attr_accessor :CreditCardTransactionDataCount
4
- attr_accessor :BoletoTransactionDataCount
5
- attr_accessor :OnlineDebitTransactionDataCount
1
+ module Gateway
2
+
3
+ class Trailer
4
+ attr_accessor :OrderDataCount
5
+ attr_accessor :CreditCardTransactionDataCount
6
+ attr_accessor :BoletoTransactionDataCount
7
+ attr_accessor :OnlineDebitTransactionDataCount
8
+ end
6
9
  end
@@ -1,5 +1,8 @@
1
- class Header
2
- attr_accessor :TransactionProcessedDate
3
- attr_accessor :ReportFileCreateDate
4
- attr_accessor :Version
1
+ module Gateway
2
+
3
+ class Header
4
+ attr_accessor :TransactionProcessedDate
5
+ attr_accessor :ReportFileCreateDate
6
+ attr_accessor :Version
7
+ end
5
8
  end
@@ -1,29 +1,32 @@
1
- require 'nori'
2
-
3
- # Class who handles Gateway post notification XML
4
- class PostNotification
5
-
6
- # This method parse the Xml sent by Gateway when notify a change in a transaction.
7
- #
8
- # @param request [String] XML received in the Gateway POST request.
9
- # @return [Hash<Symbol, String>] A hash collection containing the XML data parsed.
10
- def self.ParseNotification(xml)
11
-
12
- nori = Nori.new(:convert_tags_to => lambda { |tag| PostNotification.to_underscore(tag).to_sym })
13
- xml_hash = nori.parse(CGI::unescapeHTML(xml))
14
-
15
- return xml_hash
16
- end
17
-
18
- # Converts a string in Camel Case format to lower case with underscore.
19
- #
20
- # @param Example: 'StatusNotification' outputs 'status_notification'
21
- # @returns [String] lower case string separated with underscore
22
- def self.to_underscore(camel_case_string)
23
- return camel_case_string.gsub(/::/, '/').
24
- gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
25
- gsub(/([a-z\d])([A-Z])/,'\1_\2').
26
- tr("-", "_").
27
- downcase
28
- end
1
+ require 'nori'
2
+
3
+ module Gateway
4
+
5
+ # Class who handles Gateway post notification XML
6
+ class PostNotification
7
+
8
+ # This method parse the Xml sent by Gateway when notify a change in a transaction.
9
+ #
10
+ # @param request [String] XML received in the Gateway POST request.
11
+ # @return [Hash<Symbol, String>] A hash collection containing the XML data parsed.
12
+ def self.ParseNotification(xml)
13
+
14
+ nori = Nori.new(:convert_tags_to => lambda { |tag| PostNotification.to_underscore(tag).to_sym })
15
+ xml_hash = nori.parse(CGI::unescapeHTML(xml))
16
+
17
+ return xml_hash
18
+ end
19
+
20
+ # Converts a string in Camel Case format to lower case with underscore.
21
+ #
22
+ # @param Example: 'StatusNotification' outputs 'status_notification'
23
+ # @returns [String] lower case string separated with underscore
24
+ def self.to_underscore(camel_case_string)
25
+ return camel_case_string.gsub(/::/, '/').
26
+ gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').
27
+ gsub(/([a-z\d])([A-Z])/, '\1_\2').
28
+ tr("-", "_").
29
+ downcase
30
+ end
31
+ end
29
32
  end
@@ -1,45 +1,48 @@
1
- class TransactionReportFile
2
- def TransactionReportFileParser(file_to_parse)
3
- response = {}
4
- response['CreditCardTransaction'] = []
5
- response['OnlineDebitTransaction'] = []
6
- response['BoletoTransaction'] = []
7
-
8
- header_parser = HeaderParser.new
9
- credit_card_parser = CreditCardTransactionParser.new
10
- boleto_parser = BoletoTransactionParser.new
11
- online_debit_parser = OnlineDebitTransactionParser.new
12
- trailer_parser = TrailerParser.new
13
-
14
- begin
15
- response_splited = file_to_parse.split("\n")
16
-
17
- response_splited.each do |item|
18
-
19
- to_parse_item = item.split(',')
20
- if to_parse_item[0] == '01'
21
- response['Header'] = header_parser.Parse(to_parse_item)
22
- end
23
-
24
- if to_parse_item[0] == '20'
25
- response['CreditCardTransaction'] << credit_card_parser.Parse(to_parse_item)
26
- end
27
-
28
- if to_parse_item[0] == '40'
29
- response['OnlineDebitTransaction'] << online_debit_parser.Parse(to_parse_item)
30
- end
31
-
32
- if to_parse_item[0] == '30'
33
- response['BoletoTransaction'] << boleto_parser.Parse(to_parse_item)
34
- end
35
-
36
- if to_parse_item[0] == '99'
37
- response['Trailer'] = trailer_parser.Parse(to_parse_item)
38
- end
39
- end
40
- rescue Exception=>err
41
- return err
42
- end
43
- return response
44
- end
1
+ module Gateway
2
+
3
+ class TransactionReportFile
4
+ def TransactionReportFileParser(file_to_parse)
5
+ response = {}
6
+ response['CreditCardTransaction'] = []
7
+ response['OnlineDebitTransaction'] = []
8
+ response['BoletoTransaction'] = []
9
+
10
+ header_parser = HeaderParser.new
11
+ credit_card_parser = CreditCardTransactionParser.new
12
+ boleto_parser = BoletoTransactionParser.new
13
+ online_debit_parser = OnlineDebitTransactionParser.new
14
+ trailer_parser = TrailerParser.new
15
+
16
+ begin
17
+ response_splited = file_to_parse.split("\n")
18
+
19
+ response_splited.each do |item|
20
+
21
+ to_parse_item = item.split(',')
22
+ if to_parse_item[0] == '01'
23
+ response['Header'] = header_parser.Parse(to_parse_item)
24
+ end
25
+
26
+ if to_parse_item[0] == '20'
27
+ response['CreditCardTransaction'] << credit_card_parser.Parse(to_parse_item)
28
+ end
29
+
30
+ if to_parse_item[0] == '40'
31
+ response['OnlineDebitTransaction'] << online_debit_parser.Parse(to_parse_item)
32
+ end
33
+
34
+ if to_parse_item[0] == '30'
35
+ response['BoletoTransaction'] << boleto_parser.Parse(to_parse_item)
36
+ end
37
+
38
+ if to_parse_item[0] == '99'
39
+ response['Trailer'] = trailer_parser.Parse(to_parse_item)
40
+ end
41
+ end
42
+ rescue Exception => err
43
+ return err
44
+ end
45
+ return response
46
+ end
47
+ end
45
48
  end
@@ -1,70 +1,62 @@
1
- require 'rubygems'
2
- require 'bundler/setup'
3
-
4
- require 'json'
5
- require 'rest-client'
6
- require 'nori'
7
- require 'rspec'
8
- require 'rexml/document'
9
-
10
- require_relative 'gateway/address'
11
- require_relative 'gateway/Address/billing_address'
12
- require_relative 'gateway/Address/buyer_address'
13
- require_relative 'gateway/Address/delivery_address'
14
-
15
- require_relative 'gateway/AntiFraud/anti_fraud_analysis_result'
16
- require_relative 'gateway/AntiFraud/query_sale_anti_fraud_analysis_data'
17
- require_relative 'gateway/AntiFraud/query_sale_anti_fraud_analysis_history_data'
18
-
19
- require_relative 'gateway/BoletoTransaction/boleto_transaction'
20
- require_relative 'gateway/BoletoTransaction/boleto_transaction_data'
21
- require_relative 'gateway/BoletoTransaction/boleto_transaction_options'
22
- require_relative 'gateway/BoletoTransaction/boleto_transaction_result'
23
- require_relative 'gateway/BoletoTransaction/boleto_transaction_report_file'
24
-
25
- require_relative 'gateway/CreditCardTransaction/credit_card'
26
- require_relative 'gateway/CreditCardTransaction/credit_card_transaction'
27
- require_relative 'gateway/CreditCardTransaction/credit_card_transaction_data'
28
- require_relative 'gateway/CreditCardTransaction/credit_card_transaction_options'
29
- require_relative 'gateway/CreditCardTransaction/manage_credit_card_transaction'
30
- require_relative 'gateway/CreditCardTransaction/retry_sale_credit_card_transaction'
31
- require_relative 'gateway/CreditCardTransaction/credit_card_transaction_report_file'
32
-
33
- require_relative 'gateway/InstantBuy/credit_card_data'
34
- require_relative 'gateway/InstantBuy/get_instant_buy_data_response'
35
-
36
- require_relative 'gateway/Merchant/merchant'
37
-
38
- require_relative 'gateway/Order/order'
39
- require_relative 'gateway/Order/order_transaction_report_file'
40
-
41
- require_relative 'gateway/OnlineDebit/online_debit_transaction_report_file'
42
-
43
- require_relative 'gateway/Parsers/boleto_transaction_parser'
44
- require_relative 'gateway/Parsers/credit_card_transaction_parser'
45
- require_relative 'gateway/Parsers/online_debit_transaction_parser'
46
- require_relative 'gateway/Parsers/header_parser'
47
- require_relative 'gateway/Parsers/trailer_parser'
48
-
49
- require_relative 'gateway/Person/buyer'
50
- require_relative 'gateway/Person/person'
51
-
52
- require_relative 'gateway/Recurrency/recurrency'
53
-
54
- require_relative 'gateway/Sale/create_sale_request'
55
- require_relative 'gateway/Sale/manage_sale_request'
56
- require_relative 'gateway/Sale/query_sale_request'
57
- require_relative 'gateway/Sale/request_data'
58
- require_relative 'gateway/Sale/retry_sale_options'
59
- require_relative 'gateway/Sale/retry_sale_request'
60
- require_relative 'gateway/Sale/sale_data'
61
-
62
- require_relative 'gateway/ShoppingCart/shopping_cart'
63
- require_relative 'gateway/ShoppingCart/shopping_cart_item'
64
-
65
- require_relative 'gateway/SalesOption'
66
- require_relative 'gateway/post_notification'
67
- require_relative 'gateway/Gateway'
68
- require_relative 'gateway/header'
69
- require_relative 'gateway/Trailer'
70
- require_relative 'gateway/transaction_report_file'
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'json'
5
+ require 'rest-client'
6
+ require 'nori'
7
+ require 'rspec'
8
+ require 'rexml/document'
9
+
10
+ require_relative 'gateway/BoletoTransaction/boleto_transaction'
11
+ require_relative 'gateway/BoletoTransaction/boleto_transaction_options'
12
+ require_relative 'gateway/BoletoTransaction/boleto_transaction_report_file'
13
+
14
+ require_relative 'gateway/CreditCardTransaction/credit_card'
15
+ require_relative 'gateway/CreditCardTransaction/credit_card_transaction'
16
+ require_relative 'gateway/CreditCardTransaction/credit_card_transaction_options'
17
+ require_relative 'gateway/CreditCardTransaction/manage_credit_card_transaction'
18
+ require_relative 'gateway/CreditCardTransaction/retry_sale_credit_card_transaction'
19
+ require_relative 'gateway/CreditCardTransaction/credit_card_transaction_report_file'
20
+
21
+ require_relative 'gateway/Address/billing_address'
22
+ require_relative 'gateway/Address/buyer_address'
23
+ require_relative 'gateway/Address/delivery_address'
24
+
25
+ require_relative 'gateway/Merchant/merchant'
26
+
27
+ require_relative 'gateway/Order/order'
28
+ require_relative 'gateway/Order/order_transaction_report_file'
29
+
30
+ require_relative 'gateway/OnlineDebit/online_debit_transaction_report_file'
31
+
32
+ require_relative 'gateway/Parsers/boleto_transaction_parser'
33
+ require_relative 'gateway/Parsers/credit_card_transaction_parser'
34
+ require_relative 'gateway/Parsers/online_debit_transaction_parser'
35
+ require_relative 'gateway/Parsers/header_parser'
36
+ require_relative 'gateway/Parsers/trailer_parser'
37
+
38
+ require_relative 'gateway/Person/buyer'
39
+ require_relative 'gateway/Person/person'
40
+
41
+ require_relative 'gateway/Recurrency/recurrency'
42
+
43
+ require_relative 'gateway/Sale/create_sale_request'
44
+ require_relative 'gateway/Sale/manage_sale_request'
45
+ require_relative 'gateway/Sale/query_sale_request'
46
+ require_relative 'gateway/Sale/request_data'
47
+ require_relative 'gateway/Sale/retry_sale_options'
48
+ require_relative 'gateway/Sale/retry_sale_request'
49
+ require_relative 'gateway/Sale/sale_data'
50
+
51
+ require_relative 'gateway/ShoppingCart/shopping_cart'
52
+ require_relative 'gateway/ShoppingCart/shopping_cart_item'
53
+
54
+ require_relative 'gateway/SalesOption'
55
+ require_relative 'gateway/post_notification'
56
+ require_relative 'gateway/Gateway'
57
+ require_relative 'gateway/header'
58
+ require_relative 'gateway/Trailer'
59
+ require_relative 'gateway/transaction_report_file'
60
+ require_relative 'gateway/InstantBuyData/create_instant_buy_data_request'
61
+ require_relative 'gateway/InstantBuyData/update_instant_buy_data_request'
62
+ require_relative 'gateway/Person/create_buyer_request'