Class: Stripe::Tax::Registration::CountryOptions::Us

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/tax/registration.rb

Defined Under Namespace

Classes: AdmissionsTax, AttendanceTax, EntertainmentTax, GrossReceiptsTax, HospitalityTax, LocalAmusementTax, LocalLeaseTax, LuxuryTax, MassTransitParkingTax, ParkingTax, ResortTax, StateSalesTax, TourismTax

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#admissions_taxObject (readonly)

Attribute for field admissions_tax



1932
1933
1934
# File 'lib/stripe/resources/tax/registration.rb', line 1932

def admissions_tax
  @admissions_tax
end

#attendance_taxObject (readonly)

Attribute for field attendance_tax



1934
1935
1936
# File 'lib/stripe/resources/tax/registration.rb', line 1934

def attendance_tax
  @attendance_tax
end

#entertainment_taxObject (readonly)

Attribute for field entertainment_tax



1936
1937
1938
# File 'lib/stripe/resources/tax/registration.rb', line 1936

def entertainment_tax
  @entertainment_tax
end

#gross_receipts_taxObject (readonly)

Attribute for field gross_receipts_tax



1938
1939
1940
# File 'lib/stripe/resources/tax/registration.rb', line 1938

def gross_receipts_tax
  @gross_receipts_tax
end

#hospitality_taxObject (readonly)

Attribute for field hospitality_tax



1940
1941
1942
# File 'lib/stripe/resources/tax/registration.rb', line 1940

def hospitality_tax
  @hospitality_tax
end

#local_amusement_taxObject (readonly)

Attribute for field local_amusement_tax



1942
1943
1944
# File 'lib/stripe/resources/tax/registration.rb', line 1942

def local_amusement_tax
  @local_amusement_tax
end

#local_lease_taxObject (readonly)

Attribute for field local_lease_tax



1944
1945
1946
# File 'lib/stripe/resources/tax/registration.rb', line 1944

def local_lease_tax
  @local_lease_tax
end

#luxury_taxObject (readonly)

Attribute for field luxury_tax



1946
1947
1948
# File 'lib/stripe/resources/tax/registration.rb', line 1946

def luxury_tax
  @luxury_tax
end

#mass_transit_parking_taxObject (readonly)

Attribute for field mass_transit_parking_tax



1948
1949
1950
# File 'lib/stripe/resources/tax/registration.rb', line 1948

def mass_transit_parking_tax
  @mass_transit_parking_tax
end

#parking_taxObject (readonly)

Attribute for field parking_tax



1950
1951
1952
# File 'lib/stripe/resources/tax/registration.rb', line 1950

def parking_tax
  @parking_tax
end

#resort_taxObject (readonly)

Attribute for field resort_tax



1952
1953
1954
# File 'lib/stripe/resources/tax/registration.rb', line 1952

def resort_tax
  @resort_tax
end

#stateObject (readonly)

Two-letter US state code (ISO 3166-2).



1954
1955
1956
# File 'lib/stripe/resources/tax/registration.rb', line 1954

def state
  @state
end

#state_sales_taxObject (readonly)

Attribute for field state_sales_tax



1956
1957
1958
# File 'lib/stripe/resources/tax/registration.rb', line 1956

def state_sales_tax
  @state_sales_tax
end

#tourism_taxObject (readonly)

Attribute for field tourism_tax



1958
1959
1960
# File 'lib/stripe/resources/tax/registration.rb', line 1958

def tourism_tax
  @tourism_tax
end

#typeObject (readonly)

Type of registration in the US.



1960
1961
1962
# File 'lib/stripe/resources/tax/registration.rb', line 1960

def type
  @type
end

Class Method Details

.field_remappingsObject



1980
1981
1982
# File 'lib/stripe/resources/tax/registration.rb', line 1980

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'lib/stripe/resources/tax/registration.rb', line 1962

def self.inner_class_types
  @inner_class_types = {
    admissions_tax: AdmissionsTax,
    attendance_tax: AttendanceTax,
    entertainment_tax: EntertainmentTax,
    gross_receipts_tax: GrossReceiptsTax,
    hospitality_tax: HospitalityTax,
    local_amusement_tax: LocalAmusementTax,
    local_lease_tax: LocalLeaseTax,
    luxury_tax: LuxuryTax,
    mass_transit_parking_tax: MassTransitParkingTax,
    parking_tax: ParkingTax,
    resort_tax: ResortTax,
    state_sales_tax: StateSalesTax,
    tourism_tax: TourismTax,
  }
end