Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80647ff
commit a1babb9
Showing
14 changed files
with
531 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Braintree | ||
class MerchantAccount | ||
class AddressDetails | ||
include BaseModule | ||
|
||
attr_reader :street_address, :locality, :region, :postal_code | ||
|
||
def initialize(attributes) | ||
set_instance_variables_from_hash attributes unless attributes.nil? | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module Braintree | ||
class MerchantAccount | ||
class BusinessDetails | ||
include BaseModule | ||
|
||
attr_reader :dba_name, :legal_name, :tax_id, :address_details | ||
|
||
def initialize(attributes) | ||
set_instance_variables_from_hash attributes unless attributes.nil? | ||
@address_details = MerchantAccount::AddressDetails.new(@address) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Braintree | ||
class MerchantAccount | ||
class FundingDetails | ||
include BaseModule | ||
|
||
attr_reader :account_number_last_4, :destination, :email, :mobile_phone, :routing_number | ||
|
||
def initialize(attributes) | ||
set_instance_variables_from_hash attributes unless attributes.nil? | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module Braintree | ||
class MerchantAccount | ||
class IndividualDetails | ||
include BaseModule | ||
|
||
attr_reader :first_name, :last_name, :email, :phone, :date_of_birth, :ssn_last_4, | ||
:address_details | ||
|
||
def initialize(attributes) | ||
set_instance_variables_from_hash attributes unless attributes.nil? | ||
@address_details = MerchantAccount::AddressDetails.new(@address) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module Braintree | ||
module Version | ||
Major = 2 | ||
Minor = 26 | ||
Minor = 27 | ||
Tiny = 0 | ||
|
||
String = "#{Major}.#{Minor}.#{Tiny}" | ||
|
Oops, something went wrong.