class Square::Connect::Tax
Attributes
applied_money[RW]
inclusion_type[RW]
name[RW]
rate[RW]
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/square/connect/tax.rb, line 6 def initialize(attributes = {}) self.name = attributes[:name] self.applied_money = if attributes[:applied_money] Money.new attributes[:applied_money] end self.rate = attributes[:rate] self.inclusion_type = attributes[:inclusion_type] end