Sha256: 456be110141b9a9c43d6e7be426cac37c241a0299da107bcbf9887a0b046aac4

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

module XeroGateway
  class Organisation < BaseRecord
    attributes({
      "Name" 	                => :string,     # Display name of organisation shown in Xero
      "LegalName"             => :string,	    # Organisation name shown on Reports
      "PaysTax" 	            => :boolean,    # Boolean to describe if organisation is registered with a local tax authority i.e. true, false
      "Version"   	          => :string,     # See Version Types
      "BaseCurrency"          => :string,     # Default currency for organisation. See Currency types
      "OrganisationType"      => :string,     # only returned for "real" (i.e non-demo) companies
      "OrganisationStatus"    => :string,
      "IsDemoCompany"         => :boolean,
      "APIKey"                => :string,     # returned if organisations are linked via Xero Network
      "CountryCode"           => :string,
      "TaxNumber"             => :string,
      "FinancialYearEndDay"   => :string,
      "FinancialYearEndMonth" => :string,
      "PeriodLockDate"        => :string,
      "CreatedDateUTC"        => :string,
      "ShortCode"             => :string,
      "Timezone"              => :string,
      "LineOfBusiness"        => :string
    })
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xero_gateway-2.3.0 lib/xero_gateway/organisation.rb