Class: ConnectWise::InvoiceTemplate

Inherits:
Object
  • Object
show all
Defined in:
lib/connect_wise/models/invoice_template.rb

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ InvoiceTemplate

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash

Raises:

  • (ArgumentError)


676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
# File 'lib/connect_wise/models/invoice_template.rb', line 676

def initialize(attributes = {})
  raise ArgumentError, 'The input argument (attributes) must be a hash in `ConnectWise::InvoiceTemplate` initialize method' unless attributes.is_a?(Hash)

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) do |(k, v), h|
    raise ArgumentError, "`#{k}` is not a valid attribute in `ConnectWise::InvoiceTemplate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect unless self.class.attribute_map.key?(k.to_sym)

    h[k.to_sym] = v
  end

  self.name = attributes[:name] if attributes.key?(:name)

  self.id = attributes[:id] if attributes.key?(:id)

  self.margin_left = attributes[:margin_left] if attributes.key?(:margin_left)

  self.margin_right = attributes[:margin_right] if attributes.key?(:margin_right)

  self.margin_top = attributes[:margin_top] if attributes.key?(:margin_top)

  self.margin_bottom = attributes[:margin_bottom] if attributes.key?(:margin_bottom)

  self.logo_visible_flag = attributes[:logo_visible_flag] if attributes.key?(:logo_visible_flag)

  self.header_logo_position = attributes[:header_logo_position] if attributes.key?(:header_logo_position)

  self.remit_to_visible_flag = attributes[:remit_to_visible_flag] if attributes.key?(:remit_to_visible_flag)

  self.header_address_position = attributes[:header_address_position] if attributes.key?(:header_address_position)

  self.header_title_visible_flag = attributes[:header_title_visible_flag] if attributes.key?(:header_title_visible_flag)

  self.header_title_caption = attributes[:header_title_caption] if attributes.key?(:header_title_caption)

  self.header_title_position = attributes[:header_title_position] if attributes.key?(:header_title_position)

  self.header_title_font = attributes[:header_title_font] if attributes.key?(:header_title_font)

  self.header_terms_visible_flag = attributes[:header_terms_visible_flag] if attributes.key?(:header_terms_visible_flag)

  self.header_terms_caption = attributes[:header_terms_caption] if attributes.key?(:header_terms_caption)

  self.header_due_date_visible_flag = attributes[:header_due_date_visible_flag] if attributes.key?(:header_due_date_visible_flag)

  self.header_due_date_caption = attributes[:header_due_date_caption] if attributes.key?(:header_due_date_caption)

  self.header_po_number_visible_flag = attributes[:header_po_number_visible_flag] if attributes.key?(:header_po_number_visible_flag)

  self.header_po_number_caption = attributes[:header_po_number_caption] if attributes.key?(:header_po_number_caption)

  self.header_reference_visible_flag = attributes[:header_reference_visible_flag] if attributes.key?(:header_reference_visible_flag)

  self.header_reference_caption = attributes[:header_reference_caption] if attributes.key?(:header_reference_caption)

  self. = attributes[:header_account_visible_flag] if attributes.key?(:header_account_visible_flag)

  self. = attributes[:header_account_caption] if attributes.key?(:header_account_caption)

  self.header_tax_id_visible_flag = attributes[:header_tax_id_visible_flag] if attributes.key?(:header_tax_id_visible_flag)

  self.header_tax_id_caption = attributes[:header_tax_id_caption] if attributes.key?(:header_tax_id_caption)

  self.header_ship_to_visible_flag = attributes[:header_ship_to_visible_flag] if attributes.key?(:header_ship_to_visible_flag)

  self.header_ship_to_caption = attributes[:header_ship_to_caption] if attributes.key?(:header_ship_to_caption)

  self.header_hours_based_extended_amount_visible_flag = attributes[:header_hours_based_extended_amount_visible_flag] if attributes.key?(:header_hours_based_extended_amount_visible_flag)

  self.payable_caption = attributes[:payable_caption] if attributes.key?(:payable_caption)

  self.service_header_ticket_number_visible_flag = attributes[:service_header_ticket_number_visible_flag] if attributes.key?(:service_header_ticket_number_visible_flag)

  self.service_header_ticket_number_caption = attributes[:service_header_ticket_number_caption] if attributes.key?(:service_header_ticket_number_caption)

  self.service_header_company_name_visible_flag = attributes[:service_header_company_name_visible_flag] if attributes.key?(:service_header_company_name_visible_flag)

  self.service_header_company_name_caption = attributes[:service_header_company_name_caption] if attributes.key?(:service_header_company_name_caption)

  self.service_header_summary_visible_flag = attributes[:service_header_summary_visible_flag] if attributes.key?(:service_header_summary_visible_flag)

  self.service_header_summary_caption = attributes[:service_header_summary_caption] if attributes.key?(:service_header_summary_caption)

  self.service_header_contact_name_visible_flag = attributes[:service_header_contact_name_visible_flag] if attributes.key?(:service_header_contact_name_visible_flag)

  self.service_header_contact_name_caption = attributes[:service_header_contact_name_caption] if attributes.key?(:service_header_contact_name_caption)

  self.service_header_detail_description_visible_flag = attributes[:service_header_detail_description_visible_flag] if attributes.key?(:service_header_detail_description_visible_flag)

  self.service_header_detail_description_caption = attributes[:service_header_detail_description_caption] if attributes.key?(:service_header_detail_description_caption)

  self.service_header_resolution_visible_flag = attributes[:service_header_resolution_visible_flag] if attributes.key?(:service_header_resolution_visible_flag)

  self.service_header_resolution_caption = attributes[:service_header_resolution_caption] if attributes.key?(:service_header_resolution_caption)

  self.service_header_amount_visible_flag = attributes[:service_header_amount_visible_flag] if attributes.key?(:service_header_amount_visible_flag)

  self.service_header_amount_caption = attributes[:service_header_amount_caption] if attributes.key?(:service_header_amount_caption)

  self.service_header_billing_method_visible_flag = attributes[:service_header_billing_method_visible_flag] if attributes.key?(:service_header_billing_method_visible_flag)

  self.service_header_billing_method_caption = attributes[:service_header_billing_method_caption] if attributes.key?(:service_header_billing_method_caption)

  self.service_header_closed_tasks_visible_flag = attributes[:service_header_closed_tasks_visible_flag] if attributes.key?(:service_header_closed_tasks_visible_flag)

  self.service_header_open_tasks_visible_flag = attributes[:service_header_open_tasks_visible_flag] if attributes.key?(:service_header_open_tasks_visible_flag)

  self.service_header_bundled_tickets_visible_flag = attributes[:service_header_bundled_tickets_visible_flag] if attributes.key?(:service_header_bundled_tickets_visible_flag)

  self.project_header_project_name_visible_flag = attributes[:project_header_project_name_visible_flag] if attributes.key?(:project_header_project_name_visible_flag)

  self.project_header_project_name_caption = attributes[:project_header_project_name_caption] if attributes.key?(:project_header_project_name_caption)

  self.project_header_company_name_visible_flag = attributes[:project_header_company_name_visible_flag] if attributes.key?(:project_header_company_name_visible_flag)

  self.project_header_company_name_caption = attributes[:project_header_company_name_caption] if attributes.key?(:project_header_company_name_caption)

  self.project_header_original_downpayment_visible_flag = attributes[:project_header_original_downpayment_visible_flag] if attributes.key?(:project_header_original_downpayment_visible_flag)

  self.project_header_original_downpayment_caption = attributes[:project_header_original_downpayment_caption] if attributes.key?(:project_header_original_downpayment_caption)

  self.project_header_contact_name_visible_flag = attributes[:project_header_contact_name_visible_flag] if attributes.key?(:project_header_contact_name_visible_flag)

  self.project_header_contact_name_caption = attributes[:project_header_contact_name_caption] if attributes.key?(:project_header_contact_name_caption)

  self.project_header_amount_visible_flag = attributes[:project_header_amount_visible_flag] if attributes.key?(:project_header_amount_visible_flag)

  self.project_header_amount_caption = attributes[:project_header_amount_caption] if attributes.key?(:project_header_amount_caption)

  self.project_header_billing_method_visible_flag = attributes[:project_header_billing_method_visible_flag] if attributes.key?(:project_header_billing_method_visible_flag)

  self.project_header_billing_method_caption = attributes[:project_header_billing_method_caption] if attributes.key?(:project_header_billing_method_caption)

  self.project_header_billing_type_visible_flag = attributes[:project_header_billing_type_visible_flag] if attributes.key?(:project_header_billing_type_visible_flag)

  self.project_header_billing_type_caption = attributes[:project_header_billing_type_caption] if attributes.key?(:project_header_billing_type_caption)

  self.invoice_payment_amount_visible_flag = attributes[:invoice_payment_amount_visible_flag] if attributes.key?(:invoice_payment_amount_visible_flag)

  self.invoice_payment_amount_caption = attributes[:invoice_payment_amount_caption] if attributes.key?(:invoice_payment_amount_caption)

  self.invoice_credit_amount_visible_flag = attributes[:invoice_credit_amount_visible_flag] if attributes.key?(:invoice_credit_amount_visible_flag)

  self.invoice_credit_amount_caption = attributes[:invoice_credit_amount_caption] if attributes.key?(:invoice_credit_amount_caption)

  self.invoice_balance_due_visible_flag = attributes[:invoice_balance_due_visible_flag] if attributes.key?(:invoice_balance_due_visible_flag)

  self.invoice_balance_due_caption = attributes[:invoice_balance_due_caption] if attributes.key?(:invoice_balance_due_caption)

  self.credit_credit_amount_visible_flag = attributes[:credit_credit_amount_visible_flag] if attributes.key?(:credit_credit_amount_visible_flag)

  self.credit_credit_amount_caption = attributes[:credit_credit_amount_caption] if attributes.key?(:credit_credit_amount_caption)

  self.credit_remaining_amount_visible_flag = attributes[:credit_remaining_amount_visible_flag] if attributes.key?(:credit_remaining_amount_visible_flag)

  self.credit_remaining_amount_caption = attributes[:credit_remaining_amount_caption] if attributes.key?(:credit_remaining_amount_caption)

  self.time_detail_visible_flag = attributes[:time_detail_visible_flag] if attributes.key?(:time_detail_visible_flag)

  self.time_detail_primary_sort_field = attributes[:time_detail_primary_sort_field] if attributes.key?(:time_detail_primary_sort_field)

  self.time_detail_primary_sort_direction = attributes[:time_detail_primary_sort_direction] if attributes.key?(:time_detail_primary_sort_direction)

  self.time_detail_secondary_sort_field = attributes[:time_detail_secondary_sort_field] if attributes.key?(:time_detail_secondary_sort_field)

  self.time_detail_secondary_sort_direction = attributes[:time_detail_secondary_sort_direction] if attributes.key?(:time_detail_secondary_sort_direction)

  self.time_detail_subtotal_visible_flag = attributes[:time_detail_subtotal_visible_flag] if attributes.key?(:time_detail_subtotal_visible_flag)

  self.time_detail_start_end_time_visible_flag = attributes[:time_detail_start_end_time_visible_flag] if attributes.key?(:time_detail_start_end_time_visible_flag)

  self.time_detail_hours_visible_flag = attributes[:time_detail_hours_visible_flag] if attributes.key?(:time_detail_hours_visible_flag)

  self.time_detail_members_visible_flag = attributes[:time_detail_members_visible_flag] if attributes.key?(:time_detail_members_visible_flag)

  self.time_detail_billable_visible_flag = attributes[:time_detail_billable_visible_flag] if attributes.key?(:time_detail_billable_visible_flag)

  self.time_detail_extended_amount_visible_flag = attributes[:time_detail_extended_amount_visible_flag] if attributes.key?(:time_detail_extended_amount_visible_flag)

  self.time_detail_dollar_amounts_on_hourse_based_visible_flag = attributes[:time_detail_dollar_amounts_on_hourse_based_visible_flag] if attributes.key?(:time_detail_dollar_amounts_on_hourse_based_visible_flag)

  self.time_detail_hourly_rate_visible_flag = attributes[:time_detail_hourly_rate_visible_flag] if attributes.key?(:time_detail_hourly_rate_visible_flag)

  self.time_detail_contacts_visible_flag = attributes[:time_detail_contacts_visible_flag] if attributes.key?(:time_detail_contacts_visible_flag)

  self.time_detail_notes_visible_flag = attributes[:time_detail_notes_visible_flag] if attributes.key?(:time_detail_notes_visible_flag)

  self.time_detail_non_billable_caption = attributes[:time_detail_non_billable_caption] if attributes.key?(:time_detail_non_billable_caption)

  self.time_detail_agreement_visible_flag = attributes[:time_detail_agreement_visible_flag] if attributes.key?(:time_detail_agreement_visible_flag)

  self.time_detail_hours_based_hours_visible_flag = attributes[:time_detail_hours_based_hours_visible_flag] if attributes.key?(:time_detail_hours_based_hours_visible_flag)

  self.time_detail_hours_based_ext_amount_visible_flag = attributes[:time_detail_hours_based_ext_amount_visible_flag] if attributes.key?(:time_detail_hours_based_ext_amount_visible_flag)

  self.time_detail_hoursbased_hourly_rate_visible_flag = attributes[:time_detail_hoursbased_hourly_rate_visible_flag] if attributes.key?(:time_detail_hoursbased_hourly_rate_visible_flag)

  self.time_detail_amount_based_hours_visible_flag = attributes[:time_detail_amount_based_hours_visible_flag] if attributes.key?(:time_detail_amount_based_hours_visible_flag)

  self.time_detail_amount_based_ext_amount_visible_flag = attributes[:time_detail_amount_based_ext_amount_visible_flag] if attributes.key?(:time_detail_amount_based_ext_amount_visible_flag)

  self.time_detail_amount_based_hourly_rate_visible_flag = attributes[:time_detail_amount_based_hourly_rate_visible_flag] if attributes.key?(:time_detail_amount_based_hourly_rate_visible_flag)

  self.time_detail_sr_ticket_summary_visible_flag = attributes[:time_detail_sr_ticket_summary_visible_flag] if attributes.key?(:time_detail_sr_ticket_summary_visible_flag)

  self.time_detail_sr_contact_visible_flag = attributes[:time_detail_sr_contact_visible_flag] if attributes.key?(:time_detail_sr_contact_visible_flag)

  self.time_detail_sr_address_visible_flag = attributes[:time_detail_sr_address_visible_flag] if attributes.key?(:time_detail_sr_address_visible_flag)

  self.time_detail_pm_phase_visible_flag = attributes[:time_detail_pm_phase_visible_flag] if attributes.key?(:time_detail_pm_phase_visible_flag)

  self.time_detail_pm_summary_visible_flag = attributes[:time_detail_pm_summary_visible_flag] if attributes.key?(:time_detail_pm_summary_visible_flag)

  self.time_detail_ticket_number_visible_flag = attributes[:time_detail_ticket_number_visible_flag] if attributes.key?(:time_detail_ticket_number_visible_flag)

  self.time_detail_dates_visible_flag = attributes[:time_detail_dates_visible_flag] if attributes.key?(:time_detail_dates_visible_flag)

  self.services_staff_caption = attributes[:services_staff_caption] if attributes.key?(:services_staff_caption)

  self.services_staff_visible_flag = attributes[:services_staff_visible_flag] if attributes.key?(:services_staff_visible_flag)

  self.services_amount_caption = attributes[:services_amount_caption] if attributes.key?(:services_amount_caption)

  self.services_amount_visible_flag = attributes[:services_amount_visible_flag] if attributes.key?(:services_amount_visible_flag)

  self.services_hours_caption = attributes[:services_hours_caption] if attributes.key?(:services_hours_caption)

  self.services_hours_visible_flag = attributes[:services_hours_visible_flag] if attributes.key?(:services_hours_visible_flag)

  self.services_rate_caption = attributes[:services_rate_caption] if attributes.key?(:services_rate_caption)

  self.services_rate_visible_flag = attributes[:services_rate_visible_flag] if attributes.key?(:services_rate_visible_flag)

  self.services_work_role_caption = attributes[:services_work_role_caption] if attributes.key?(:services_work_role_caption)

  self.services_work_role_visible_flag = attributes[:services_work_role_visible_flag] if attributes.key?(:services_work_role_visible_flag)

  self.services_work_type_caption = attributes[:services_work_type_caption] if attributes.key?(:services_work_type_caption)

  self.services_work_type_visible_flag = attributes[:services_work_type_visible_flag] if attributes.key?(:services_work_type_visible_flag)

  self.services_total_visible_flag = attributes[:services_total_visible_flag] if attributes.key?(:services_total_visible_flag)

  self.services_member_name_visible_flag = attributes[:services_member_name_visible_flag] if attributes.key?(:services_member_name_visible_flag)

  self.services_member_name_caption = attributes[:services_member_name_caption] if attributes.key?(:services_member_name_caption)

  self.currency_id_visible_flag = attributes[:currency_id_visible_flag] if attributes.key?(:currency_id_visible_flag)

  self.currency_symbol_visible_flag = attributes[:currency_symbol_visible_flag] if attributes.key?(:currency_symbol_visible_flag)

  self.portal_flag = attributes[:portal_flag] if attributes.key?(:portal_flag)

  self.services_collapsed_flag = attributes[:services_collapsed_flag] if attributes.key?(:services_collapsed_flag)

  self.expenses_collapsed_flag = attributes[:expenses_collapsed_flag] if attributes.key?(:expenses_collapsed_flag)

  self.other_charges_collapsed_flag = attributes[:other_charges_collapsed_flag] if attributes.key?(:other_charges_collapsed_flag)

  self.expenses_type_caption = attributes[:expenses_type_caption] if attributes.key?(:expenses_type_caption)

  self.expenses_staff_caption = attributes[:expenses_staff_caption] if attributes.key?(:expenses_staff_caption)

  self.expenses_amount_caption = attributes[:expenses_amount_caption] if attributes.key?(:expenses_amount_caption)

  self.expenses_type_visible_flag = attributes[:expenses_type_visible_flag] if attributes.key?(:expenses_type_visible_flag)

  self.expenses_staff_visible_flag = attributes[:expenses_staff_visible_flag] if attributes.key?(:expenses_staff_visible_flag)

  self.expenses_amount_visible_flag = attributes[:expenses_amount_visible_flag] if attributes.key?(:expenses_amount_visible_flag)

  self.expenses_total_visible_flag = attributes[:expenses_total_visible_flag] if attributes.key?(:expenses_total_visible_flag)

  self.expense_detail_subtotal_visible_flag = attributes[:expense_detail_subtotal_visible_flag] if attributes.key?(:expense_detail_subtotal_visible_flag)

  self.expense_detail_members_visible_flag = attributes[:expense_detail_members_visible_flag] if attributes.key?(:expense_detail_members_visible_flag)

  self.expense_detail_contacts_visible_flag = attributes[:expense_detail_contacts_visible_flag] if attributes.key?(:expense_detail_contacts_visible_flag)

  self.expense_detail_billable_visible_flag = attributes[:expense_detail_billable_visible_flag] if attributes.key?(:expense_detail_billable_visible_flag)

  self.expense_detail_ext_amount_visible_flag = attributes[:expense_detail_ext_amount_visible_flag] if attributes.key?(:expense_detail_ext_amount_visible_flag)

  self.expense_detail_notes_visible_flag = attributes[:expense_detail_notes_visible_flag] if attributes.key?(:expense_detail_notes_visible_flag)

  self.expense_detail_primary_sort_field = attributes[:expense_detail_primary_sort_field] if attributes.key?(:expense_detail_primary_sort_field)

  self.expense_detail_primary_sort_direction = attributes[:expense_detail_primary_sort_direction] if attributes.key?(:expense_detail_primary_sort_direction)

  self.expense_detail_secondary_sort_field = attributes[:expense_detail_secondary_sort_field] if attributes.key?(:expense_detail_secondary_sort_field)

  self.expense_detail_secondary_sort_direction = attributes[:expense_detail_secondary_sort_direction] if attributes.key?(:expense_detail_secondary_sort_direction)

  self.expense_detail_nonbillable_caption = attributes[:expense_detail_nonbillable_caption] if attributes.key?(:expense_detail_nonbillable_caption)

  self.expense_detail_visible_flag = attributes[:expense_detail_visible_flag] if attributes.key?(:expense_detail_visible_flag)

  self.expense_detail_agreement_visible_flag = attributes[:expense_detail_agreement_visible_flag] if attributes.key?(:expense_detail_agreement_visible_flag)

  self.expense_detail_agreement_ext_amount_visible_flag = attributes[:expense_detail_agreement_ext_amount_visible_flag] if attributes.key?(:expense_detail_agreement_ext_amount_visible_flag)

  self.expense_detail_ticket_number_visible_flag = attributes[:expense_detail_ticket_number_visible_flag] if attributes.key?(:expense_detail_ticket_number_visible_flag)

  self.expense_detail_sr_ticket_summary_visible_flag = attributes[:expense_detail_sr_ticket_summary_visible_flag] if attributes.key?(:expense_detail_sr_ticket_summary_visible_flag)

  self.expense_detail_sr_contact_visible_flag = attributes[:expense_detail_sr_contact_visible_flag] if attributes.key?(:expense_detail_sr_contact_visible_flag)

  self.expense_detail_sr_address_visible_flag = attributes[:expense_detail_sr_address_visible_flag] if attributes.key?(:expense_detail_sr_address_visible_flag)

  self.expense_detail_pm_phase_visible_flag = attributes[:expense_detail_pm_phase_visible_flag] if attributes.key?(:expense_detail_pm_phase_visible_flag)

  self.expense_detail_pm_summary_visible_flag = attributes[:expense_detail_pm_summary_visible_flag] if attributes.key?(:expense_detail_pm_summary_visible_flag)

  self.other_charges_amount_caption = attributes[:other_charges_amount_caption] if attributes.key?(:other_charges_amount_caption)

  self.other_charges_amount_visible_flag = attributes[:other_charges_amount_visible_flag] if attributes.key?(:other_charges_amount_visible_flag)

  self.other_charges_description_caption = attributes[:other_charges_description_caption] if attributes.key?(:other_charges_description_caption)

  self.other_charges_description_visible_flag = attributes[:other_charges_description_visible_flag] if attributes.key?(:other_charges_description_visible_flag)

  self.other_charges_display_six_decimals = attributes[:other_charges_display_six_decimals] if attributes.key?(:other_charges_display_six_decimals)

  self.other_charges_item_id_visible_flag = attributes[:other_charges_item_id_visible_flag] if attributes.key?(:other_charges_item_id_visible_flag)

  self.other_charges_price_caption = attributes[:other_charges_price_caption] if attributes.key?(:other_charges_price_caption)

  self.other_charges_price_visible_flag = attributes[:other_charges_price_visible_flag] if attributes.key?(:other_charges_price_visible_flag)

  self.other_charges_quantity_caption = attributes[:other_charges_quantity_caption] if attributes.key?(:other_charges_quantity_caption)

  self.other_charges_quantity_visible_flag = attributes[:other_charges_quantity_visible_flag] if attributes.key?(:other_charges_quantity_visible_flag)

  self.other_charges_serial_number_visible_flag = attributes[:other_charges_serial_number_visible_flag] if attributes.key?(:other_charges_serial_number_visible_flag)

  self.other_charges_total_visible_flag = attributes[:other_charges_total_visible_flag] if attributes.key?(:other_charges_total_visible_flag)

  self.adjustment_description_visible_flag = attributes[:adjustment_description_visible_flag] if attributes.key?(:adjustment_description_visible_flag)

  self.adjustment_description_caption = attributes[:adjustment_description_caption] if attributes.key?(:adjustment_description_caption)

  self.adjustment_quantity_visible_flag = attributes[:adjustment_quantity_visible_flag] if attributes.key?(:adjustment_quantity_visible_flag)

  self.adjustment_quantity_caption = attributes[:adjustment_quantity_caption] if attributes.key?(:adjustment_quantity_caption)

  self.adjustment_amount_visible_flag = attributes[:adjustment_amount_visible_flag] if attributes.key?(:adjustment_amount_visible_flag)

  self.adjustment_amount_caption = attributes[:adjustment_amount_caption] if attributes.key?(:adjustment_amount_caption)

  self.adjustment_agr_type_visible_flag = attributes[:adjustment_agr_type_visible_flag] if attributes.key?(:adjustment_agr_type_visible_flag)

  self.adjustment_total_visible_flag = attributes[:adjustment_total_visible_flag] if attributes.key?(:adjustment_total_visible_flag)

  self.adjustment_price_visible_flag = attributes[:adjustment_price_visible_flag] if attributes.key?(:adjustment_price_visible_flag)

  self.adjustment_price_caption = attributes[:adjustment_price_caption] if attributes.key?(:adjustment_price_caption)

  return unless attributes.key?(:_info)
  return unless (value = attributes[:_info]).is_a?(Hash)

  self._info = value
end

Instance Attribute Details

#_infoObject

Returns the value of attribute _info.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def _info
  @_info
end

#adjustment_agr_type_visible_flagObject

Returns the value of attribute adjustment_agr_type_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def adjustment_agr_type_visible_flag
  @adjustment_agr_type_visible_flag
end

#adjustment_amount_captionObject

Max length: 50;



163
164
165
# File 'lib/connect_wise/models/invoice_template.rb', line 163

def adjustment_amount_caption
  @adjustment_amount_caption
end

#adjustment_amount_visible_flagObject

Returns the value of attribute adjustment_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def adjustment_amount_visible_flag
  @adjustment_amount_visible_flag
end

#adjustment_description_captionObject

Max length: 50;



157
158
159
# File 'lib/connect_wise/models/invoice_template.rb', line 157

def adjustment_description_caption
  @adjustment_description_caption
end

#adjustment_description_visible_flagObject

Returns the value of attribute adjustment_description_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def adjustment_description_visible_flag
  @adjustment_description_visible_flag
end

#adjustment_price_captionObject

Max length: 50;



166
167
168
# File 'lib/connect_wise/models/invoice_template.rb', line 166

def adjustment_price_caption
  @adjustment_price_caption
end

#adjustment_price_visible_flagObject

Returns the value of attribute adjustment_price_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def adjustment_price_visible_flag
  @adjustment_price_visible_flag
end

#adjustment_quantity_captionObject

Max length: 50;



160
161
162
# File 'lib/connect_wise/models/invoice_template.rb', line 160

def adjustment_quantity_caption
  @adjustment_quantity_caption
end

#adjustment_quantity_visible_flagObject

Returns the value of attribute adjustment_quantity_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def adjustment_quantity_visible_flag
  @adjustment_quantity_visible_flag
end

#adjustment_total_visible_flagObject

Returns the value of attribute adjustment_total_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def adjustment_total_visible_flag
  @adjustment_total_visible_flag
end

#credit_credit_amount_captionObject

Max length: 50;



103
104
105
# File 'lib/connect_wise/models/invoice_template.rb', line 103

def credit_credit_amount_caption
  @credit_credit_amount_caption
end

#credit_credit_amount_visible_flagObject

Returns the value of attribute credit_credit_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def credit_credit_amount_visible_flag
  @credit_credit_amount_visible_flag
end

#credit_remaining_amount_captionObject

Max length: 50;



106
107
108
# File 'lib/connect_wise/models/invoice_template.rb', line 106

def credit_remaining_amount_caption
  @credit_remaining_amount_caption
end

#credit_remaining_amount_visible_flagObject

Returns the value of attribute credit_remaining_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def credit_remaining_amount_visible_flag
  @credit_remaining_amount_visible_flag
end

#currency_id_visible_flagObject

Returns the value of attribute currency_id_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def currency_id_visible_flag
  @currency_id_visible_flag
end

#currency_symbol_visible_flagObject

Returns the value of attribute currency_symbol_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def currency_symbol_visible_flag
  @currency_symbol_visible_flag
end

#expense_detail_agreement_ext_amount_visible_flagObject

Returns the value of attribute expense_detail_agreement_ext_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_agreement_ext_amount_visible_flag
  @expense_detail_agreement_ext_amount_visible_flag
end

#expense_detail_agreement_visible_flagObject

Returns the value of attribute expense_detail_agreement_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_agreement_visible_flag
  @expense_detail_agreement_visible_flag
end

#expense_detail_billable_visible_flagObject

Returns the value of attribute expense_detail_billable_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_billable_visible_flag
  @expense_detail_billable_visible_flag
end

#expense_detail_contacts_visible_flagObject

Returns the value of attribute expense_detail_contacts_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_contacts_visible_flag
  @expense_detail_contacts_visible_flag
end

#expense_detail_ext_amount_visible_flagObject

Returns the value of attribute expense_detail_ext_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_ext_amount_visible_flag
  @expense_detail_ext_amount_visible_flag
end

#expense_detail_members_visible_flagObject

Returns the value of attribute expense_detail_members_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_members_visible_flag
  @expense_detail_members_visible_flag
end

#expense_detail_nonbillable_captionObject

Max length: 50;



142
143
144
# File 'lib/connect_wise/models/invoice_template.rb', line 142

def expense_detail_nonbillable_caption
  @expense_detail_nonbillable_caption
end

#expense_detail_notes_visible_flagObject

Returns the value of attribute expense_detail_notes_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_notes_visible_flag
  @expense_detail_notes_visible_flag
end

#expense_detail_pm_phase_visible_flagObject

Returns the value of attribute expense_detail_pm_phase_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_pm_phase_visible_flag
  @expense_detail_pm_phase_visible_flag
end

#expense_detail_pm_summary_visible_flagObject

Returns the value of attribute expense_detail_pm_summary_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_pm_summary_visible_flag
  @expense_detail_pm_summary_visible_flag
end

#expense_detail_primary_sort_directionObject

Returns the value of attribute expense_detail_primary_sort_direction.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_primary_sort_direction
  @expense_detail_primary_sort_direction
end

#expense_detail_primary_sort_fieldObject

Returns the value of attribute expense_detail_primary_sort_field.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_primary_sort_field
  @expense_detail_primary_sort_field
end

#expense_detail_secondary_sort_directionObject

Returns the value of attribute expense_detail_secondary_sort_direction.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_secondary_sort_direction
  @expense_detail_secondary_sort_direction
end

#expense_detail_secondary_sort_fieldObject

Returns the value of attribute expense_detail_secondary_sort_field.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_secondary_sort_field
  @expense_detail_secondary_sort_field
end

#expense_detail_sr_address_visible_flagObject

Returns the value of attribute expense_detail_sr_address_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_sr_address_visible_flag
  @expense_detail_sr_address_visible_flag
end

#expense_detail_sr_contact_visible_flagObject

Returns the value of attribute expense_detail_sr_contact_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_sr_contact_visible_flag
  @expense_detail_sr_contact_visible_flag
end

#expense_detail_sr_ticket_summary_visible_flagObject

Returns the value of attribute expense_detail_sr_ticket_summary_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_sr_ticket_summary_visible_flag
  @expense_detail_sr_ticket_summary_visible_flag
end

#expense_detail_subtotal_visible_flagObject

Returns the value of attribute expense_detail_subtotal_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_subtotal_visible_flag
  @expense_detail_subtotal_visible_flag
end

#expense_detail_ticket_number_visible_flagObject

Returns the value of attribute expense_detail_ticket_number_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_ticket_number_visible_flag
  @expense_detail_ticket_number_visible_flag
end

#expense_detail_visible_flagObject

Returns the value of attribute expense_detail_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expense_detail_visible_flag
  @expense_detail_visible_flag
end

#expenses_amount_captionObject

Max length: 50;



139
140
141
# File 'lib/connect_wise/models/invoice_template.rb', line 139

def expenses_amount_caption
  @expenses_amount_caption
end

#expenses_amount_visible_flagObject

Returns the value of attribute expenses_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expenses_amount_visible_flag
  @expenses_amount_visible_flag
end

#expenses_collapsed_flagObject

Returns the value of attribute expenses_collapsed_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expenses_collapsed_flag
  @expenses_collapsed_flag
end

#expenses_staff_captionObject

Max length: 50;



136
137
138
# File 'lib/connect_wise/models/invoice_template.rb', line 136

def expenses_staff_caption
  @expenses_staff_caption
end

#expenses_staff_visible_flagObject

Returns the value of attribute expenses_staff_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expenses_staff_visible_flag
  @expenses_staff_visible_flag
end

#expenses_total_visible_flagObject

Returns the value of attribute expenses_total_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expenses_total_visible_flag
  @expenses_total_visible_flag
end

#expenses_type_captionObject

Max length: 50;



133
134
135
# File 'lib/connect_wise/models/invoice_template.rb', line 133

def expenses_type_caption
  @expenses_type_caption
end

#expenses_type_visible_flagObject

Returns the value of attribute expenses_type_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def expenses_type_visible_flag
  @expenses_type_visible_flag
end

#header_account_captionObject

Max length: 50;



37
38
39
# File 'lib/connect_wise/models/invoice_template.rb', line 37

def 
  
end

#header_account_visible_flagObject

Returns the value of attribute header_account_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def 
  
end

#header_address_positionObject

Returns the value of attribute header_address_position.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_address_position
  @header_address_position
end

#header_due_date_captionObject

Max length: 50;



28
29
30
# File 'lib/connect_wise/models/invoice_template.rb', line 28

def header_due_date_caption
  @header_due_date_caption
end

#header_due_date_visible_flagObject

Returns the value of attribute header_due_date_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_due_date_visible_flag
  @header_due_date_visible_flag
end

#header_hours_based_extended_amount_visible_flagObject

Returns the value of attribute header_hours_based_extended_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_hours_based_extended_amount_visible_flag
  @header_hours_based_extended_amount_visible_flag
end

#header_logo_positionObject

Returns the value of attribute header_logo_position.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_logo_position
  @header_logo_position
end

#header_po_number_captionObject

Max length: 50;



31
32
33
# File 'lib/connect_wise/models/invoice_template.rb', line 31

def header_po_number_caption
  @header_po_number_caption
end

#header_po_number_visible_flagObject

Returns the value of attribute header_po_number_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_po_number_visible_flag
  @header_po_number_visible_flag
end

#header_reference_captionObject

Max length: 50;



34
35
36
# File 'lib/connect_wise/models/invoice_template.rb', line 34

def header_reference_caption
  @header_reference_caption
end

#header_reference_visible_flagObject

Returns the value of attribute header_reference_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_reference_visible_flag
  @header_reference_visible_flag
end

#header_ship_to_captionObject

Max length: 50;



43
44
45
# File 'lib/connect_wise/models/invoice_template.rb', line 43

def header_ship_to_caption
  @header_ship_to_caption
end

#header_ship_to_visible_flagObject

Returns the value of attribute header_ship_to_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_ship_to_visible_flag
  @header_ship_to_visible_flag
end

#header_tax_id_captionObject

Max length: 50;



40
41
42
# File 'lib/connect_wise/models/invoice_template.rb', line 40

def header_tax_id_caption
  @header_tax_id_caption
end

#header_tax_id_visible_flagObject

Returns the value of attribute header_tax_id_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_tax_id_visible_flag
  @header_tax_id_visible_flag
end

#header_terms_captionObject

Max length: 50;



25
26
27
# File 'lib/connect_wise/models/invoice_template.rb', line 25

def header_terms_caption
  @header_terms_caption
end

#header_terms_visible_flagObject

Returns the value of attribute header_terms_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_terms_visible_flag
  @header_terms_visible_flag
end

#header_title_captionObject

Max length: 50;



22
23
24
# File 'lib/connect_wise/models/invoice_template.rb', line 22

def header_title_caption
  @header_title_caption
end

#header_title_fontObject

Returns the value of attribute header_title_font.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_title_font
  @header_title_font
end

#header_title_positionObject

Returns the value of attribute header_title_position.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_title_position
  @header_title_position
end

#header_title_visible_flagObject

Returns the value of attribute header_title_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def header_title_visible_flag
  @header_title_visible_flag
end

#idObject

Returns the value of attribute id.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def id
  @id
end

#invoice_balance_due_captionObject

Max length: 50;



100
101
102
# File 'lib/connect_wise/models/invoice_template.rb', line 100

def invoice_balance_due_caption
  @invoice_balance_due_caption
end

#invoice_balance_due_visible_flagObject

Returns the value of attribute invoice_balance_due_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def invoice_balance_due_visible_flag
  @invoice_balance_due_visible_flag
end

#invoice_credit_amount_captionObject

Max length: 50;



97
98
99
# File 'lib/connect_wise/models/invoice_template.rb', line 97

def invoice_credit_amount_caption
  @invoice_credit_amount_caption
end

#invoice_credit_amount_visible_flagObject

Returns the value of attribute invoice_credit_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def invoice_credit_amount_visible_flag
  @invoice_credit_amount_visible_flag
end

#invoice_payment_amount_captionObject

Max length: 50;



94
95
96
# File 'lib/connect_wise/models/invoice_template.rb', line 94

def invoice_payment_amount_caption
  @invoice_payment_amount_caption
end

#invoice_payment_amount_visible_flagObject

Returns the value of attribute invoice_payment_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def invoice_payment_amount_visible_flag
  @invoice_payment_amount_visible_flag
end

#logo_visible_flagObject

Returns the value of attribute logo_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def logo_visible_flag
  @logo_visible_flag
end

#margin_bottomObject

Returns the value of attribute margin_bottom.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def margin_bottom
  @margin_bottom
end

#margin_leftObject

Returns the value of attribute margin_left.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def margin_left
  @margin_left
end

#margin_rightObject

Returns the value of attribute margin_right.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def margin_right
  @margin_right
end

#margin_topObject

Returns the value of attribute margin_top.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def margin_top
  @margin_top
end

#nameObject

Max length: 50;



17
18
19
# File 'lib/connect_wise/models/invoice_template.rb', line 17

def name
  @name
end

#other_charges_amount_captionObject

Max length: 50;



145
146
147
# File 'lib/connect_wise/models/invoice_template.rb', line 145

def other_charges_amount_caption
  @other_charges_amount_caption
end

#other_charges_amount_visible_flagObject

Returns the value of attribute other_charges_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_amount_visible_flag
  @other_charges_amount_visible_flag
end

#other_charges_collapsed_flagObject

Returns the value of attribute other_charges_collapsed_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_collapsed_flag
  @other_charges_collapsed_flag
end

#other_charges_description_captionObject

Max length: 50;



148
149
150
# File 'lib/connect_wise/models/invoice_template.rb', line 148

def other_charges_description_caption
  @other_charges_description_caption
end

#other_charges_description_visible_flagObject

Returns the value of attribute other_charges_description_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_description_visible_flag
  @other_charges_description_visible_flag
end

#other_charges_display_six_decimalsObject

Returns the value of attribute other_charges_display_six_decimals.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_display_six_decimals
  @other_charges_display_six_decimals
end

#other_charges_item_id_visible_flagObject

Returns the value of attribute other_charges_item_id_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_item_id_visible_flag
  @other_charges_item_id_visible_flag
end

#other_charges_price_captionObject

Max length: 50;



151
152
153
# File 'lib/connect_wise/models/invoice_template.rb', line 151

def other_charges_price_caption
  @other_charges_price_caption
end

#other_charges_price_visible_flagObject

Returns the value of attribute other_charges_price_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_price_visible_flag
  @other_charges_price_visible_flag
end

#other_charges_quantity_captionObject

Max length: 50;



154
155
156
# File 'lib/connect_wise/models/invoice_template.rb', line 154

def other_charges_quantity_caption
  @other_charges_quantity_caption
end

#other_charges_quantity_visible_flagObject

Returns the value of attribute other_charges_quantity_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_quantity_visible_flag
  @other_charges_quantity_visible_flag
end

#other_charges_serial_number_visible_flagObject

Returns the value of attribute other_charges_serial_number_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_serial_number_visible_flag
  @other_charges_serial_number_visible_flag
end

#other_charges_total_visible_flagObject

Returns the value of attribute other_charges_total_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def other_charges_total_visible_flag
  @other_charges_total_visible_flag
end

#payable_captionObject

Max length: 1000;



46
47
48
# File 'lib/connect_wise/models/invoice_template.rb', line 46

def payable_caption
  @payable_caption
end

#portal_flagObject

Returns the value of attribute portal_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def portal_flag
  @portal_flag
end

#project_header_amount_captionObject

Max length: 50;



85
86
87
# File 'lib/connect_wise/models/invoice_template.rb', line 85

def project_header_amount_caption
  @project_header_amount_caption
end

#project_header_amount_visible_flagObject

Returns the value of attribute project_header_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_amount_visible_flag
  @project_header_amount_visible_flag
end

#project_header_billing_method_captionObject

Max length: 50;



88
89
90
# File 'lib/connect_wise/models/invoice_template.rb', line 88

def project_header_billing_method_caption
  @project_header_billing_method_caption
end

#project_header_billing_method_visible_flagObject

Returns the value of attribute project_header_billing_method_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_billing_method_visible_flag
  @project_header_billing_method_visible_flag
end

#project_header_billing_type_captionObject

Max length: 50;



91
92
93
# File 'lib/connect_wise/models/invoice_template.rb', line 91

def project_header_billing_type_caption
  @project_header_billing_type_caption
end

#project_header_billing_type_visible_flagObject

Returns the value of attribute project_header_billing_type_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_billing_type_visible_flag
  @project_header_billing_type_visible_flag
end

#project_header_company_name_captionObject

Max length: 50;



76
77
78
# File 'lib/connect_wise/models/invoice_template.rb', line 76

def project_header_company_name_caption
  @project_header_company_name_caption
end

#project_header_company_name_visible_flagObject

Returns the value of attribute project_header_company_name_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_company_name_visible_flag
  @project_header_company_name_visible_flag
end

#project_header_contact_name_captionObject

Max length: 50;



82
83
84
# File 'lib/connect_wise/models/invoice_template.rb', line 82

def project_header_contact_name_caption
  @project_header_contact_name_caption
end

#project_header_contact_name_visible_flagObject

Returns the value of attribute project_header_contact_name_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_contact_name_visible_flag
  @project_header_contact_name_visible_flag
end

#project_header_original_downpayment_captionObject

Max length: 50;



79
80
81
# File 'lib/connect_wise/models/invoice_template.rb', line 79

def project_header_original_downpayment_caption
  @project_header_original_downpayment_caption
end

#project_header_original_downpayment_visible_flagObject

Returns the value of attribute project_header_original_downpayment_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_original_downpayment_visible_flag
  @project_header_original_downpayment_visible_flag
end

#project_header_project_name_captionObject

Max length: 50;



73
74
75
# File 'lib/connect_wise/models/invoice_template.rb', line 73

def project_header_project_name_caption
  @project_header_project_name_caption
end

#project_header_project_name_visible_flagObject

Returns the value of attribute project_header_project_name_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def project_header_project_name_visible_flag
  @project_header_project_name_visible_flag
end

#remit_to_visible_flagObject

Returns the value of attribute remit_to_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def remit_to_visible_flag
  @remit_to_visible_flag
end

#service_header_amount_captionObject

Max length: 50;



67
68
69
# File 'lib/connect_wise/models/invoice_template.rb', line 67

def service_header_amount_caption
  @service_header_amount_caption
end

#service_header_amount_visible_flagObject

Returns the value of attribute service_header_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_amount_visible_flag
  @service_header_amount_visible_flag
end

#service_header_billing_method_captionObject

Max length: 50;



70
71
72
# File 'lib/connect_wise/models/invoice_template.rb', line 70

def service_header_billing_method_caption
  @service_header_billing_method_caption
end

#service_header_billing_method_visible_flagObject

Returns the value of attribute service_header_billing_method_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_billing_method_visible_flag
  @service_header_billing_method_visible_flag
end

#service_header_bundled_tickets_visible_flagObject

Returns the value of attribute service_header_bundled_tickets_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_bundled_tickets_visible_flag
  @service_header_bundled_tickets_visible_flag
end

#service_header_closed_tasks_visible_flagObject

Returns the value of attribute service_header_closed_tasks_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_closed_tasks_visible_flag
  @service_header_closed_tasks_visible_flag
end

#service_header_company_name_captionObject

Max length: 50;



52
53
54
# File 'lib/connect_wise/models/invoice_template.rb', line 52

def service_header_company_name_caption
  @service_header_company_name_caption
end

#service_header_company_name_visible_flagObject

Returns the value of attribute service_header_company_name_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_company_name_visible_flag
  @service_header_company_name_visible_flag
end

#service_header_contact_name_captionObject

Max length: 50;



58
59
60
# File 'lib/connect_wise/models/invoice_template.rb', line 58

def service_header_contact_name_caption
  @service_header_contact_name_caption
end

#service_header_contact_name_visible_flagObject

Returns the value of attribute service_header_contact_name_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_contact_name_visible_flag
  @service_header_contact_name_visible_flag
end

#service_header_detail_description_captionObject

Max length: 50;



61
62
63
# File 'lib/connect_wise/models/invoice_template.rb', line 61

def service_header_detail_description_caption
  @service_header_detail_description_caption
end

#service_header_detail_description_visible_flagObject

Returns the value of attribute service_header_detail_description_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_detail_description_visible_flag
  @service_header_detail_description_visible_flag
end

#service_header_open_tasks_visible_flagObject

Returns the value of attribute service_header_open_tasks_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_open_tasks_visible_flag
  @service_header_open_tasks_visible_flag
end

#service_header_resolution_captionObject

Max length: 50;



64
65
66
# File 'lib/connect_wise/models/invoice_template.rb', line 64

def service_header_resolution_caption
  @service_header_resolution_caption
end

#service_header_resolution_visible_flagObject

Returns the value of attribute service_header_resolution_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_resolution_visible_flag
  @service_header_resolution_visible_flag
end

#service_header_summary_captionObject

Max length: 50;



55
56
57
# File 'lib/connect_wise/models/invoice_template.rb', line 55

def service_header_summary_caption
  @service_header_summary_caption
end

#service_header_summary_visible_flagObject

Returns the value of attribute service_header_summary_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_summary_visible_flag
  @service_header_summary_visible_flag
end

#service_header_ticket_number_captionObject

Max length: 50;



49
50
51
# File 'lib/connect_wise/models/invoice_template.rb', line 49

def service_header_ticket_number_caption
  @service_header_ticket_number_caption
end

#service_header_ticket_number_visible_flagObject

Returns the value of attribute service_header_ticket_number_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def service_header_ticket_number_visible_flag
  @service_header_ticket_number_visible_flag
end

#services_amount_captionObject

Max length: 50;



115
116
117
# File 'lib/connect_wise/models/invoice_template.rb', line 115

def services_amount_caption
  @services_amount_caption
end

#services_amount_visible_flagObject

Returns the value of attribute services_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_amount_visible_flag
  @services_amount_visible_flag
end

#services_collapsed_flagObject

Returns the value of attribute services_collapsed_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_collapsed_flag
  @services_collapsed_flag
end

#services_hours_captionObject

Max length: 50;



118
119
120
# File 'lib/connect_wise/models/invoice_template.rb', line 118

def services_hours_caption
  @services_hours_caption
end

#services_hours_visible_flagObject

Returns the value of attribute services_hours_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_hours_visible_flag
  @services_hours_visible_flag
end

#services_member_name_captionObject

Max length: 50;



130
131
132
# File 'lib/connect_wise/models/invoice_template.rb', line 130

def services_member_name_caption
  @services_member_name_caption
end

#services_member_name_visible_flagObject

Returns the value of attribute services_member_name_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_member_name_visible_flag
  @services_member_name_visible_flag
end

#services_rate_captionObject

Max length: 50;



121
122
123
# File 'lib/connect_wise/models/invoice_template.rb', line 121

def services_rate_caption
  @services_rate_caption
end

#services_rate_visible_flagObject

Returns the value of attribute services_rate_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_rate_visible_flag
  @services_rate_visible_flag
end

#services_staff_captionObject

Max length: 50;



112
113
114
# File 'lib/connect_wise/models/invoice_template.rb', line 112

def services_staff_caption
  @services_staff_caption
end

#services_staff_visible_flagObject

Returns the value of attribute services_staff_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_staff_visible_flag
  @services_staff_visible_flag
end

#services_total_visible_flagObject

Returns the value of attribute services_total_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_total_visible_flag
  @services_total_visible_flag
end

#services_work_role_captionObject

Max length: 50;



124
125
126
# File 'lib/connect_wise/models/invoice_template.rb', line 124

def services_work_role_caption
  @services_work_role_caption
end

#services_work_role_visible_flagObject

Returns the value of attribute services_work_role_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_work_role_visible_flag
  @services_work_role_visible_flag
end

#services_work_type_captionObject

Max length: 50;



127
128
129
# File 'lib/connect_wise/models/invoice_template.rb', line 127

def services_work_type_caption
  @services_work_type_caption
end

#services_work_type_visible_flagObject

Returns the value of attribute services_work_type_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def services_work_type_visible_flag
  @services_work_type_visible_flag
end

#time_detail_agreement_visible_flagObject

Returns the value of attribute time_detail_agreement_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_agreement_visible_flag
  @time_detail_agreement_visible_flag
end

#time_detail_amount_based_ext_amount_visible_flagObject

Returns the value of attribute time_detail_amount_based_ext_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_amount_based_ext_amount_visible_flag
  @time_detail_amount_based_ext_amount_visible_flag
end

#time_detail_amount_based_hourly_rate_visible_flagObject

Returns the value of attribute time_detail_amount_based_hourly_rate_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_amount_based_hourly_rate_visible_flag
  @time_detail_amount_based_hourly_rate_visible_flag
end

#time_detail_amount_based_hours_visible_flagObject

Returns the value of attribute time_detail_amount_based_hours_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_amount_based_hours_visible_flag
  @time_detail_amount_based_hours_visible_flag
end

#time_detail_billable_visible_flagObject

Returns the value of attribute time_detail_billable_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_billable_visible_flag
  @time_detail_billable_visible_flag
end

#time_detail_contacts_visible_flagObject

Returns the value of attribute time_detail_contacts_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_contacts_visible_flag
  @time_detail_contacts_visible_flag
end

#time_detail_dates_visible_flagObject

Returns the value of attribute time_detail_dates_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_dates_visible_flag
  @time_detail_dates_visible_flag
end

#time_detail_dollar_amounts_on_hourse_based_visible_flagObject

Returns the value of attribute time_detail_dollar_amounts_on_hourse_based_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_dollar_amounts_on_hourse_based_visible_flag
  @time_detail_dollar_amounts_on_hourse_based_visible_flag
end

#time_detail_extended_amount_visible_flagObject

Returns the value of attribute time_detail_extended_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_extended_amount_visible_flag
  @time_detail_extended_amount_visible_flag
end

#time_detail_hourly_rate_visible_flagObject

Returns the value of attribute time_detail_hourly_rate_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_hourly_rate_visible_flag
  @time_detail_hourly_rate_visible_flag
end

#time_detail_hours_based_ext_amount_visible_flagObject

Returns the value of attribute time_detail_hours_based_ext_amount_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_hours_based_ext_amount_visible_flag
  @time_detail_hours_based_ext_amount_visible_flag
end

#time_detail_hours_based_hours_visible_flagObject

Returns the value of attribute time_detail_hours_based_hours_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_hours_based_hours_visible_flag
  @time_detail_hours_based_hours_visible_flag
end

#time_detail_hours_visible_flagObject

Returns the value of attribute time_detail_hours_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_hours_visible_flag
  @time_detail_hours_visible_flag
end

#time_detail_hoursbased_hourly_rate_visible_flagObject

Returns the value of attribute time_detail_hoursbased_hourly_rate_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_hoursbased_hourly_rate_visible_flag
  @time_detail_hoursbased_hourly_rate_visible_flag
end

#time_detail_members_visible_flagObject

Returns the value of attribute time_detail_members_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_members_visible_flag
  @time_detail_members_visible_flag
end

#time_detail_non_billable_captionObject

Max length: 50;



109
110
111
# File 'lib/connect_wise/models/invoice_template.rb', line 109

def time_detail_non_billable_caption
  @time_detail_non_billable_caption
end

#time_detail_notes_visible_flagObject

Returns the value of attribute time_detail_notes_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_notes_visible_flag
  @time_detail_notes_visible_flag
end

#time_detail_pm_phase_visible_flagObject

Returns the value of attribute time_detail_pm_phase_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_pm_phase_visible_flag
  @time_detail_pm_phase_visible_flag
end

#time_detail_pm_summary_visible_flagObject

Returns the value of attribute time_detail_pm_summary_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_pm_summary_visible_flag
  @time_detail_pm_summary_visible_flag
end

#time_detail_primary_sort_directionObject

Returns the value of attribute time_detail_primary_sort_direction.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_primary_sort_direction
  @time_detail_primary_sort_direction
end

#time_detail_primary_sort_fieldObject

Returns the value of attribute time_detail_primary_sort_field.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_primary_sort_field
  @time_detail_primary_sort_field
end

#time_detail_secondary_sort_directionObject

Returns the value of attribute time_detail_secondary_sort_direction.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_secondary_sort_direction
  @time_detail_secondary_sort_direction
end

#time_detail_secondary_sort_fieldObject

Returns the value of attribute time_detail_secondary_sort_field.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_secondary_sort_field
  @time_detail_secondary_sort_field
end

#time_detail_sr_address_visible_flagObject

Returns the value of attribute time_detail_sr_address_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_sr_address_visible_flag
  @time_detail_sr_address_visible_flag
end

#time_detail_sr_contact_visible_flagObject

Returns the value of attribute time_detail_sr_contact_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_sr_contact_visible_flag
  @time_detail_sr_contact_visible_flag
end

#time_detail_sr_ticket_summary_visible_flagObject

Returns the value of attribute time_detail_sr_ticket_summary_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_sr_ticket_summary_visible_flag
  @time_detail_sr_ticket_summary_visible_flag
end

#time_detail_start_end_time_visible_flagObject

Returns the value of attribute time_detail_start_end_time_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_start_end_time_visible_flag
  @time_detail_start_end_time_visible_flag
end

#time_detail_subtotal_visible_flagObject

Returns the value of attribute time_detail_subtotal_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_subtotal_visible_flag
  @time_detail_subtotal_visible_flag
end

#time_detail_ticket_number_visible_flagObject

Returns the value of attribute time_detail_ticket_number_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_ticket_number_visible_flag
  @time_detail_ticket_number_visible_flag
end

#time_detail_visible_flagObject

Returns the value of attribute time_detail_visible_flag.



19
20
21
# File 'lib/connect_wise/models/invoice_template.rb', line 19

def time_detail_visible_flag
  @time_detail_visible_flag
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



370
371
372
# File 'lib/connect_wise/models/invoice_template.rb', line 370

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
# File 'lib/connect_wise/models/invoice_template.rb', line 190

def self.attribute_map
  {
    name: :name,
    id: :id,
    margin_left: :marginLeft,
    margin_right: :marginRight,
    margin_top: :marginTop,
    margin_bottom: :marginBottom,
    logo_visible_flag: :logoVisibleFlag,
    header_logo_position: :headerLogoPosition,
    remit_to_visible_flag: :remitToVisibleFlag,
    header_address_position: :headerAddressPosition,
    header_title_visible_flag: :headerTitleVisibleFlag,
    header_title_caption: :headerTitleCaption,
    header_title_position: :headerTitlePosition,
    header_title_font: :headerTitleFont,
    header_terms_visible_flag: :headerTermsVisibleFlag,
    header_terms_caption: :headerTermsCaption,
    header_due_date_visible_flag: :headerDueDateVisibleFlag,
    header_due_date_caption: :headerDueDateCaption,
    header_po_number_visible_flag: :headerPoNumberVisibleFlag,
    header_po_number_caption: :headerPoNumberCaption,
    header_reference_visible_flag: :headerReferenceVisibleFlag,
    header_reference_caption: :headerReferenceCaption,
    header_account_visible_flag: :headerAccountVisibleFlag,
    header_account_caption: :headerAccountCaption,
    header_tax_id_visible_flag: :headerTaxIdVisibleFlag,
    header_tax_id_caption: :headerTaxIdCaption,
    header_ship_to_visible_flag: :headerShipToVisibleFlag,
    header_ship_to_caption: :headerShipToCaption,
    header_hours_based_extended_amount_visible_flag: :headerHoursBasedExtendedAmountVisibleFlag,
    payable_caption: :payableCaption,
    service_header_ticket_number_visible_flag: :serviceHeaderTicketNumberVisibleFlag,
    service_header_ticket_number_caption: :serviceHeaderTicketNumberCaption,
    service_header_company_name_visible_flag: :serviceHeaderCompanyNameVisibleFlag,
    service_header_company_name_caption: :serviceHeaderCompanyNameCaption,
    service_header_summary_visible_flag: :serviceHeaderSummaryVisibleFlag,
    service_header_summary_caption: :serviceHeaderSummaryCaption,
    service_header_contact_name_visible_flag: :serviceHeaderContactNameVisibleFlag,
    service_header_contact_name_caption: :serviceHeaderContactNameCaption,
    service_header_detail_description_visible_flag: :serviceHeaderDetailDescriptionVisibleFlag,
    service_header_detail_description_caption: :serviceHeaderDetailDescriptionCaption,
    service_header_resolution_visible_flag: :serviceHeaderResolutionVisibleFlag,
    service_header_resolution_caption: :serviceHeaderResolutionCaption,
    service_header_amount_visible_flag: :serviceHeaderAmountVisibleFlag,
    service_header_amount_caption: :serviceHeaderAmountCaption,
    service_header_billing_method_visible_flag: :serviceHeaderBillingMethodVisibleFlag,
    service_header_billing_method_caption: :serviceHeaderBillingMethodCaption,
    service_header_closed_tasks_visible_flag: :serviceHeaderClosedTasksVisibleFlag,
    service_header_open_tasks_visible_flag: :serviceHeaderOpenTasksVisibleFlag,
    service_header_bundled_tickets_visible_flag: :serviceHeaderBundledTicketsVisibleFlag,
    project_header_project_name_visible_flag: :projectHeaderProjectNameVisibleFlag,
    project_header_project_name_caption: :projectHeaderProjectNameCaption,
    project_header_company_name_visible_flag: :projectHeaderCompanyNameVisibleFlag,
    project_header_company_name_caption: :projectHeaderCompanyNameCaption,
    project_header_original_downpayment_visible_flag: :projectHeaderOriginalDownpaymentVisibleFlag,
    project_header_original_downpayment_caption: :projectHeaderOriginalDownpaymentCaption,
    project_header_contact_name_visible_flag: :projectHeaderContactNameVisibleFlag,
    project_header_contact_name_caption: :projectHeaderContactNameCaption,
    project_header_amount_visible_flag: :projectHeaderAmountVisibleFlag,
    project_header_amount_caption: :projectHeaderAmountCaption,
    project_header_billing_method_visible_flag: :projectHeaderBillingMethodVisibleFlag,
    project_header_billing_method_caption: :projectHeaderBillingMethodCaption,
    project_header_billing_type_visible_flag: :projectHeaderBillingTypeVisibleFlag,
    project_header_billing_type_caption: :projectHeaderBillingTypeCaption,
    invoice_payment_amount_visible_flag: :invoicePaymentAmountVisibleFlag,
    invoice_payment_amount_caption: :invoicePaymentAmountCaption,
    invoice_credit_amount_visible_flag: :invoiceCreditAmountVisibleFlag,
    invoice_credit_amount_caption: :invoiceCreditAmountCaption,
    invoice_balance_due_visible_flag: :invoiceBalanceDueVisibleFlag,
    invoice_balance_due_caption: :invoiceBalanceDueCaption,
    credit_credit_amount_visible_flag: :creditCreditAmountVisibleFlag,
    credit_credit_amount_caption: :creditCreditAmountCaption,
    credit_remaining_amount_visible_flag: :creditRemainingAmountVisibleFlag,
    credit_remaining_amount_caption: :creditRemainingAmountCaption,
    time_detail_visible_flag: :timeDetailVisibleFlag,
    time_detail_primary_sort_field: :timeDetailPrimarySortField,
    time_detail_primary_sort_direction: :timeDetailPrimarySortDirection,
    time_detail_secondary_sort_field: :timeDetailSecondarySortField,
    time_detail_secondary_sort_direction: :timeDetailSecondarySortDirection,
    time_detail_subtotal_visible_flag: :timeDetailSubtotalVisibleFlag,
    time_detail_start_end_time_visible_flag: :timeDetailStartEndTimeVisibleFlag,
    time_detail_hours_visible_flag: :timeDetailHoursVisibleFlag,
    time_detail_members_visible_flag: :timeDetailMembersVisibleFlag,
    time_detail_billable_visible_flag: :timeDetailBillableVisibleFlag,
    time_detail_extended_amount_visible_flag: :timeDetailExtendedAmountVisibleFlag,
    time_detail_dollar_amounts_on_hourse_based_visible_flag: :timeDetailDollarAmountsOnHourseBasedVisibleFlag,
    time_detail_hourly_rate_visible_flag: :timeDetailHourlyRateVisibleFlag,
    time_detail_contacts_visible_flag: :timeDetailContactsVisibleFlag,
    time_detail_notes_visible_flag: :timeDetailNotesVisibleFlag,
    time_detail_non_billable_caption: :timeDetailNonBillableCaption,
    time_detail_agreement_visible_flag: :timeDetailAgreementVisibleFlag,
    time_detail_hours_based_hours_visible_flag: :timeDetailHoursBasedHoursVisibleFlag,
    time_detail_hours_based_ext_amount_visible_flag: :timeDetailHoursBasedExtAmountVisibleFlag,
    time_detail_hoursbased_hourly_rate_visible_flag: :timeDetailHoursbasedHourlyRateVisibleFlag,
    time_detail_amount_based_hours_visible_flag: :timeDetailAmountBasedHoursVisibleFlag,
    time_detail_amount_based_ext_amount_visible_flag: :timeDetailAmountBasedExtAmountVisibleFlag,
    time_detail_amount_based_hourly_rate_visible_flag: :timeDetailAmountBasedHourlyRateVisibleFlag,
    time_detail_sr_ticket_summary_visible_flag: :timeDetailSRTicketSummaryVisibleFlag,
    time_detail_sr_contact_visible_flag: :timeDetailSRContactVisibleFlag,
    time_detail_sr_address_visible_flag: :timeDetailSRAddressVisibleFlag,
    time_detail_pm_phase_visible_flag: :timeDetailPmPhaseVisibleFlag,
    time_detail_pm_summary_visible_flag: :timeDetailPmSummaryVisibleFlag,
    time_detail_ticket_number_visible_flag: :timeDetailTicketNumberVisibleFlag,
    time_detail_dates_visible_flag: :timeDetailDatesVisibleFlag,
    services_staff_caption: :servicesStaffCaption,
    services_staff_visible_flag: :servicesStaffVisibleFlag,
    services_amount_caption: :servicesAmountCaption,
    services_amount_visible_flag: :servicesAmountVisibleFlag,
    services_hours_caption: :servicesHoursCaption,
    services_hours_visible_flag: :servicesHoursVisibleFlag,
    services_rate_caption: :servicesRateCaption,
    services_rate_visible_flag: :servicesRateVisibleFlag,
    services_work_role_caption: :servicesWorkRoleCaption,
    services_work_role_visible_flag: :servicesWorkRoleVisibleFlag,
    services_work_type_caption: :servicesWorkTypeCaption,
    services_work_type_visible_flag: :servicesWorkTypeVisibleFlag,
    services_total_visible_flag: :servicesTotalVisibleFlag,
    services_member_name_visible_flag: :servicesMemberNameVisibleFlag,
    services_member_name_caption: :servicesMemberNameCaption,
    currency_id_visible_flag: :currencyIdVisibleFlag,
    currency_symbol_visible_flag: :currencySymbolVisibleFlag,
    portal_flag: :portalFlag,
    services_collapsed_flag: :servicesCollapsedFlag,
    expenses_collapsed_flag: :expensesCollapsedFlag,
    other_charges_collapsed_flag: :otherChargesCollapsedFlag,
    expenses_type_caption: :expensesTypeCaption,
    expenses_staff_caption: :expensesStaffCaption,
    expenses_amount_caption: :expensesAmountCaption,
    expenses_type_visible_flag: :expensesTypeVisibleFlag,
    expenses_staff_visible_flag: :expensesStaffVisibleFlag,
    expenses_amount_visible_flag: :expensesAmountVisibleFlag,
    expenses_total_visible_flag: :expensesTotalVisibleFlag,
    expense_detail_subtotal_visible_flag: :expenseDetailSubtotalVisibleFlag,
    expense_detail_members_visible_flag: :expenseDetailMembersVisibleFlag,
    expense_detail_contacts_visible_flag: :expenseDetailContactsVisibleFlag,
    expense_detail_billable_visible_flag: :expenseDetailBillableVisibleFlag,
    expense_detail_ext_amount_visible_flag: :expenseDetailExtAmountVisibleFlag,
    expense_detail_notes_visible_flag: :expenseDetailNotesVisibleFlag,
    expense_detail_primary_sort_field: :expenseDetailPrimarySortField,
    expense_detail_primary_sort_direction: :expenseDetailPrimarySortDirection,
    expense_detail_secondary_sort_field: :expenseDetailSecondarySortField,
    expense_detail_secondary_sort_direction: :expenseDetailSecondarySortDirection,
    expense_detail_nonbillable_caption: :expenseDetailNonbillableCaption,
    expense_detail_visible_flag: :expenseDetailVisibleFlag,
    expense_detail_agreement_visible_flag: :expenseDetailAgreementVisibleFlag,
    expense_detail_agreement_ext_amount_visible_flag: :expenseDetailAgreementExtAmountVisibleFlag,
    expense_detail_ticket_number_visible_flag: :expenseDetailTicketNumberVisibleFlag,
    expense_detail_sr_ticket_summary_visible_flag: :expenseDetailSrTicketSummaryVisibleFlag,
    expense_detail_sr_contact_visible_flag: :expenseDetailSrContactVisibleFlag,
    expense_detail_sr_address_visible_flag: :expenseDetailSrAddressVisibleFlag,
    expense_detail_pm_phase_visible_flag: :expenseDetailPmPhaseVisibleFlag,
    expense_detail_pm_summary_visible_flag: :expenseDetailPmSummaryVisibleFlag,
    other_charges_amount_caption: :otherChargesAmountCaption,
    other_charges_amount_visible_flag: :otherChargesAmountVisibleFlag,
    other_charges_description_caption: :otherChargesDescriptionCaption,
    other_charges_description_visible_flag: :otherChargesDescriptionVisibleFlag,
    other_charges_display_six_decimals: :otherChargesDisplaySixDecimals,
    other_charges_item_id_visible_flag: :otherChargesItemIdVisibleFlag,
    other_charges_price_caption: :otherChargesPriceCaption,
    other_charges_price_visible_flag: :otherChargesPriceVisibleFlag,
    other_charges_quantity_caption: :otherChargesQuantityCaption,
    other_charges_quantity_visible_flag: :otherChargesQuantityVisibleFlag,
    other_charges_serial_number_visible_flag: :otherChargesSerialNumberVisibleFlag,
    other_charges_total_visible_flag: :otherChargesTotalVisibleFlag,
    adjustment_description_visible_flag: :adjustmentDescriptionVisibleFlag,
    adjustment_description_caption: :adjustmentDescriptionCaption,
    adjustment_quantity_visible_flag: :adjustmentQuantityVisibleFlag,
    adjustment_quantity_caption: :adjustmentQuantityCaption,
    adjustment_amount_visible_flag: :adjustmentAmountVisibleFlag,
    adjustment_amount_caption: :adjustmentAmountCaption,
    adjustment_agr_type_visible_flag: :adjustmentAgrTypeVisibleFlag,
    adjustment_total_visible_flag: :adjustmentTotalVisibleFlag,
    adjustment_price_visible_flag: :adjustmentPriceVisibleFlag,
    adjustment_price_caption: :adjustmentPriceCaption,
    _info: :_info
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1300
1301
1302
# File 'lib/connect_wise/models/invoice_template.rb', line 1300

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end

.openapi_nullableObject

List of attributes with nullable: true



555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# File 'lib/connect_wise/models/invoice_template.rb', line 555

def self.openapi_nullable
  Set.new(i[
            margin_left
            margin_right
            margin_top
            margin_bottom
            logo_visible_flag
            header_logo_position
            remit_to_visible_flag
            header_address_position
            header_title_visible_flag
            header_title_position
            header_title_font
            header_terms_visible_flag
            header_due_date_visible_flag
            header_po_number_visible_flag
            header_reference_visible_flag
            
            header_tax_id_visible_flag
            header_ship_to_visible_flag
            header_hours_based_extended_amount_visible_flag
            service_header_ticket_number_visible_flag
            service_header_company_name_visible_flag
            service_header_summary_visible_flag
            service_header_contact_name_visible_flag
            service_header_detail_description_visible_flag
            service_header_resolution_visible_flag
            service_header_amount_visible_flag
            service_header_billing_method_visible_flag
            service_header_closed_tasks_visible_flag
            service_header_open_tasks_visible_flag
            service_header_bundled_tickets_visible_flag
            project_header_project_name_visible_flag
            project_header_company_name_visible_flag
            project_header_original_downpayment_visible_flag
            project_header_contact_name_visible_flag
            project_header_amount_visible_flag
            project_header_billing_method_visible_flag
            project_header_billing_type_visible_flag
            invoice_payment_amount_visible_flag
            invoice_credit_amount_visible_flag
            invoice_balance_due_visible_flag
            credit_credit_amount_visible_flag
            credit_remaining_amount_visible_flag
            time_detail_visible_flag
            time_detail_subtotal_visible_flag
            time_detail_start_end_time_visible_flag
            time_detail_hours_visible_flag
            time_detail_members_visible_flag
            time_detail_billable_visible_flag
            time_detail_extended_amount_visible_flag
            time_detail_dollar_amounts_on_hourse_based_visible_flag
            time_detail_hourly_rate_visible_flag
            time_detail_contacts_visible_flag
            time_detail_notes_visible_flag
            time_detail_agreement_visible_flag
            time_detail_hours_based_hours_visible_flag
            time_detail_hours_based_ext_amount_visible_flag
            time_detail_hoursbased_hourly_rate_visible_flag
            time_detail_amount_based_hours_visible_flag
            time_detail_amount_based_ext_amount_visible_flag
            time_detail_amount_based_hourly_rate_visible_flag
            time_detail_sr_ticket_summary_visible_flag
            time_detail_sr_contact_visible_flag
            time_detail_sr_address_visible_flag
            time_detail_pm_phase_visible_flag
            time_detail_pm_summary_visible_flag
            time_detail_ticket_number_visible_flag
            time_detail_dates_visible_flag
            services_staff_visible_flag
            services_amount_visible_flag
            services_hours_visible_flag
            services_rate_visible_flag
            services_work_role_visible_flag
            services_work_type_visible_flag
            services_total_visible_flag
            services_member_name_visible_flag
            currency_id_visible_flag
            currency_symbol_visible_flag
            portal_flag
            services_collapsed_flag
            expenses_collapsed_flag
            other_charges_collapsed_flag
            expenses_type_visible_flag
            expenses_staff_visible_flag
            expenses_amount_visible_flag
            expenses_total_visible_flag
            expense_detail_subtotal_visible_flag
            expense_detail_members_visible_flag
            expense_detail_contacts_visible_flag
            expense_detail_billable_visible_flag
            expense_detail_ext_amount_visible_flag
            expense_detail_notes_visible_flag
            expense_detail_visible_flag
            expense_detail_agreement_visible_flag
            expense_detail_agreement_ext_amount_visible_flag
            expense_detail_ticket_number_visible_flag
            expense_detail_sr_ticket_summary_visible_flag
            expense_detail_sr_contact_visible_flag
            expense_detail_sr_address_visible_flag
            expense_detail_pm_phase_visible_flag
            expense_detail_pm_summary_visible_flag
            other_charges_amount_visible_flag
            other_charges_description_visible_flag
            other_charges_display_six_decimals
            other_charges_item_id_visible_flag
            other_charges_price_visible_flag
            other_charges_quantity_visible_flag
            other_charges_serial_number_visible_flag
            other_charges_total_visible_flag
            adjustment_description_visible_flag
            adjustment_quantity_visible_flag
            adjustment_amount_visible_flag
            adjustment_agr_type_visible_flag
            adjustment_total_visible_flag
            adjustment_price_visible_flag
          ])
end

.openapi_typesObject

Attribute type mapping.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
# File 'lib/connect_wise/models/invoice_template.rb', line 375

def self.openapi_types
  {
    name: :String,
    id: :Integer,
    margin_left: :Float,
    margin_right: :Float,
    margin_top: :Float,
    margin_bottom: :Float,
    logo_visible_flag: :Boolean,
    header_logo_position: :String,
    remit_to_visible_flag: :Boolean,
    header_address_position: :String,
    header_title_visible_flag: :Boolean,
    header_title_caption: :String,
    header_title_position: :String,
    header_title_font: :String,
    header_terms_visible_flag: :Boolean,
    header_terms_caption: :String,
    header_due_date_visible_flag: :Boolean,
    header_due_date_caption: :String,
    header_po_number_visible_flag: :Boolean,
    header_po_number_caption: :String,
    header_reference_visible_flag: :Boolean,
    header_reference_caption: :String,
    header_account_visible_flag: :Boolean,
    header_account_caption: :String,
    header_tax_id_visible_flag: :Boolean,
    header_tax_id_caption: :String,
    header_ship_to_visible_flag: :Boolean,
    header_ship_to_caption: :String,
    header_hours_based_extended_amount_visible_flag: :Boolean,
    payable_caption: :String,
    service_header_ticket_number_visible_flag: :Boolean,
    service_header_ticket_number_caption: :String,
    service_header_company_name_visible_flag: :Boolean,
    service_header_company_name_caption: :String,
    service_header_summary_visible_flag: :Boolean,
    service_header_summary_caption: :String,
    service_header_contact_name_visible_flag: :Boolean,
    service_header_contact_name_caption: :String,
    service_header_detail_description_visible_flag: :Boolean,
    service_header_detail_description_caption: :String,
    service_header_resolution_visible_flag: :Boolean,
    service_header_resolution_caption: :String,
    service_header_amount_visible_flag: :Boolean,
    service_header_amount_caption: :String,
    service_header_billing_method_visible_flag: :Boolean,
    service_header_billing_method_caption: :String,
    service_header_closed_tasks_visible_flag: :Boolean,
    service_header_open_tasks_visible_flag: :Boolean,
    service_header_bundled_tickets_visible_flag: :Boolean,
    project_header_project_name_visible_flag: :Boolean,
    project_header_project_name_caption: :String,
    project_header_company_name_visible_flag: :Boolean,
    project_header_company_name_caption: :String,
    project_header_original_downpayment_visible_flag: :Boolean,
    project_header_original_downpayment_caption: :String,
    project_header_contact_name_visible_flag: :Boolean,
    project_header_contact_name_caption: :String,
    project_header_amount_visible_flag: :Boolean,
    project_header_amount_caption: :String,
    project_header_billing_method_visible_flag: :Boolean,
    project_header_billing_method_caption: :String,
    project_header_billing_type_visible_flag: :Boolean,
    project_header_billing_type_caption: :String,
    invoice_payment_amount_visible_flag: :Boolean,
    invoice_payment_amount_caption: :String,
    invoice_credit_amount_visible_flag: :Boolean,
    invoice_credit_amount_caption: :String,
    invoice_balance_due_visible_flag: :Boolean,
    invoice_balance_due_caption: :String,
    credit_credit_amount_visible_flag: :Boolean,
    credit_credit_amount_caption: :String,
    credit_remaining_amount_visible_flag: :Boolean,
    credit_remaining_amount_caption: :String,
    time_detail_visible_flag: :Boolean,
    time_detail_primary_sort_field: :String,
    time_detail_primary_sort_direction: :String,
    time_detail_secondary_sort_field: :String,
    time_detail_secondary_sort_direction: :String,
    time_detail_subtotal_visible_flag: :Boolean,
    time_detail_start_end_time_visible_flag: :Boolean,
    time_detail_hours_visible_flag: :Boolean,
    time_detail_members_visible_flag: :Boolean,
    time_detail_billable_visible_flag: :Boolean,
    time_detail_extended_amount_visible_flag: :Boolean,
    time_detail_dollar_amounts_on_hourse_based_visible_flag: :Boolean,
    time_detail_hourly_rate_visible_flag: :Boolean,
    time_detail_contacts_visible_flag: :Boolean,
    time_detail_notes_visible_flag: :Boolean,
    time_detail_non_billable_caption: :String,
    time_detail_agreement_visible_flag: :Boolean,
    time_detail_hours_based_hours_visible_flag: :Boolean,
    time_detail_hours_based_ext_amount_visible_flag: :Boolean,
    time_detail_hoursbased_hourly_rate_visible_flag: :Boolean,
    time_detail_amount_based_hours_visible_flag: :Boolean,
    time_detail_amount_based_ext_amount_visible_flag: :Boolean,
    time_detail_amount_based_hourly_rate_visible_flag: :Boolean,
    time_detail_sr_ticket_summary_visible_flag: :Boolean,
    time_detail_sr_contact_visible_flag: :Boolean,
    time_detail_sr_address_visible_flag: :Boolean,
    time_detail_pm_phase_visible_flag: :Boolean,
    time_detail_pm_summary_visible_flag: :Boolean,
    time_detail_ticket_number_visible_flag: :Boolean,
    time_detail_dates_visible_flag: :Boolean,
    services_staff_caption: :String,
    services_staff_visible_flag: :Boolean,
    services_amount_caption: :String,
    services_amount_visible_flag: :Boolean,
    services_hours_caption: :String,
    services_hours_visible_flag: :Boolean,
    services_rate_caption: :String,
    services_rate_visible_flag: :Boolean,
    services_work_role_caption: :String,
    services_work_role_visible_flag: :Boolean,
    services_work_type_caption: :String,
    services_work_type_visible_flag: :Boolean,
    services_total_visible_flag: :Boolean,
    services_member_name_visible_flag: :Boolean,
    services_member_name_caption: :String,
    currency_id_visible_flag: :Boolean,
    currency_symbol_visible_flag: :Boolean,
    portal_flag: :Boolean,
    services_collapsed_flag: :Boolean,
    expenses_collapsed_flag: :Boolean,
    other_charges_collapsed_flag: :Boolean,
    expenses_type_caption: :String,
    expenses_staff_caption: :String,
    expenses_amount_caption: :String,
    expenses_type_visible_flag: :Boolean,
    expenses_staff_visible_flag: :Boolean,
    expenses_amount_visible_flag: :Boolean,
    expenses_total_visible_flag: :Boolean,
    expense_detail_subtotal_visible_flag: :Boolean,
    expense_detail_members_visible_flag: :Boolean,
    expense_detail_contacts_visible_flag: :Boolean,
    expense_detail_billable_visible_flag: :Boolean,
    expense_detail_ext_amount_visible_flag: :Boolean,
    expense_detail_notes_visible_flag: :Boolean,
    expense_detail_primary_sort_field: :String,
    expense_detail_primary_sort_direction: :String,
    expense_detail_secondary_sort_field: :String,
    expense_detail_secondary_sort_direction: :String,
    expense_detail_nonbillable_caption: :String,
    expense_detail_visible_flag: :Boolean,
    expense_detail_agreement_visible_flag: :Boolean,
    expense_detail_agreement_ext_amount_visible_flag: :Boolean,
    expense_detail_ticket_number_visible_flag: :Boolean,
    expense_detail_sr_ticket_summary_visible_flag: :Boolean,
    expense_detail_sr_contact_visible_flag: :Boolean,
    expense_detail_sr_address_visible_flag: :Boolean,
    expense_detail_pm_phase_visible_flag: :Boolean,
    expense_detail_pm_summary_visible_flag: :Boolean,
    other_charges_amount_caption: :String,
    other_charges_amount_visible_flag: :Boolean,
    other_charges_description_caption: :String,
    other_charges_description_visible_flag: :Boolean,
    other_charges_display_six_decimals: :Boolean,
    other_charges_item_id_visible_flag: :Boolean,
    other_charges_price_caption: :String,
    other_charges_price_visible_flag: :Boolean,
    other_charges_quantity_caption: :String,
    other_charges_quantity_visible_flag: :Boolean,
    other_charges_serial_number_visible_flag: :Boolean,
    other_charges_total_visible_flag: :Boolean,
    adjustment_description_visible_flag: :Boolean,
    adjustment_description_caption: :String,
    adjustment_quantity_visible_flag: :Boolean,
    adjustment_quantity_caption: :String,
    adjustment_amount_visible_flag: :Boolean,
    adjustment_amount_caption: :String,
    adjustment_agr_type_visible_flag: :Boolean,
    adjustment_total_visible_flag: :Boolean,
    adjustment_price_visible_flag: :Boolean,
    adjustment_price_caption: :String,
    _info: :'Hash<String, String>'
  }
end

Instance Method Details

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
# File 'lib/connect_wise/models/invoice_template.rb', line 1105

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    name == other.name &&
    id == other.id &&
    margin_left == other.margin_left &&
    margin_right == other.margin_right &&
    margin_top == other.margin_top &&
    margin_bottom == other.margin_bottom &&
    logo_visible_flag == other.logo_visible_flag &&
    header_logo_position == other.header_logo_position &&
    remit_to_visible_flag == other.remit_to_visible_flag &&
    header_address_position == other.header_address_position &&
    header_title_visible_flag == other.header_title_visible_flag &&
    header_title_caption == other.header_title_caption &&
    header_title_position == other.header_title_position &&
    header_title_font == other.header_title_font &&
    header_terms_visible_flag == other.header_terms_visible_flag &&
    header_terms_caption == other.header_terms_caption &&
    header_due_date_visible_flag == other.header_due_date_visible_flag &&
    header_due_date_caption == other.header_due_date_caption &&
    header_po_number_visible_flag == other.header_po_number_visible_flag &&
    header_po_number_caption == other.header_po_number_caption &&
    header_reference_visible_flag == other.header_reference_visible_flag &&
    header_reference_caption == other.header_reference_caption &&
     == other. &&
     == other. &&
    header_tax_id_visible_flag == other.header_tax_id_visible_flag &&
    header_tax_id_caption == other.header_tax_id_caption &&
    header_ship_to_visible_flag == other.header_ship_to_visible_flag &&
    header_ship_to_caption == other.header_ship_to_caption &&
    header_hours_based_extended_amount_visible_flag == other.header_hours_based_extended_amount_visible_flag &&
    payable_caption == other.payable_caption &&
    service_header_ticket_number_visible_flag == other.service_header_ticket_number_visible_flag &&
    service_header_ticket_number_caption == other.service_header_ticket_number_caption &&
    service_header_company_name_visible_flag == other.service_header_company_name_visible_flag &&
    service_header_company_name_caption == other.service_header_company_name_caption &&
    service_header_summary_visible_flag == other.service_header_summary_visible_flag &&
    service_header_summary_caption == other.service_header_summary_caption &&
    service_header_contact_name_visible_flag == other.service_header_contact_name_visible_flag &&
    service_header_contact_name_caption == other.service_header_contact_name_caption &&
    service_header_detail_description_visible_flag == other.service_header_detail_description_visible_flag &&
    service_header_detail_description_caption == other.service_header_detail_description_caption &&
    service_header_resolution_visible_flag == other.service_header_resolution_visible_flag &&
    service_header_resolution_caption == other.service_header_resolution_caption &&
    service_header_amount_visible_flag == other.service_header_amount_visible_flag &&
    service_header_amount_caption == other.service_header_amount_caption &&
    service_header_billing_method_visible_flag == other.service_header_billing_method_visible_flag &&
    service_header_billing_method_caption == other.service_header_billing_method_caption &&
    service_header_closed_tasks_visible_flag == other.service_header_closed_tasks_visible_flag &&
    service_header_open_tasks_visible_flag == other.service_header_open_tasks_visible_flag &&
    service_header_bundled_tickets_visible_flag == other.service_header_bundled_tickets_visible_flag &&
    project_header_project_name_visible_flag == other.project_header_project_name_visible_flag &&
    project_header_project_name_caption == other.project_header_project_name_caption &&
    project_header_company_name_visible_flag == other.project_header_company_name_visible_flag &&
    project_header_company_name_caption == other.project_header_company_name_caption &&
    project_header_original_downpayment_visible_flag == other.project_header_original_downpayment_visible_flag &&
    project_header_original_downpayment_caption == other.project_header_original_downpayment_caption &&
    project_header_contact_name_visible_flag == other.project_header_contact_name_visible_flag &&
    project_header_contact_name_caption == other.project_header_contact_name_caption &&
    project_header_amount_visible_flag == other.project_header_amount_visible_flag &&
    project_header_amount_caption == other.project_header_amount_caption &&
    project_header_billing_method_visible_flag == other.project_header_billing_method_visible_flag &&
    project_header_billing_method_caption == other.project_header_billing_method_caption &&
    project_header_billing_type_visible_flag == other.project_header_billing_type_visible_flag &&
    project_header_billing_type_caption == other.project_header_billing_type_caption &&
    invoice_payment_amount_visible_flag == other.invoice_payment_amount_visible_flag &&
    invoice_payment_amount_caption == other.invoice_payment_amount_caption &&
    invoice_credit_amount_visible_flag == other.invoice_credit_amount_visible_flag &&
    invoice_credit_amount_caption == other.invoice_credit_amount_caption &&
    invoice_balance_due_visible_flag == other.invoice_balance_due_visible_flag &&
    invoice_balance_due_caption == other.invoice_balance_due_caption &&
    credit_credit_amount_visible_flag == other.credit_credit_amount_visible_flag &&
    credit_credit_amount_caption == other.credit_credit_amount_caption &&
    credit_remaining_amount_visible_flag == other.credit_remaining_amount_visible_flag &&
    credit_remaining_amount_caption == other.credit_remaining_amount_caption &&
    time_detail_visible_flag == other.time_detail_visible_flag &&
    time_detail_primary_sort_field == other.time_detail_primary_sort_field &&
    time_detail_primary_sort_direction == other.time_detail_primary_sort_direction &&
    time_detail_secondary_sort_field == other.time_detail_secondary_sort_field &&
    time_detail_secondary_sort_direction == other.time_detail_secondary_sort_direction &&
    time_detail_subtotal_visible_flag == other.time_detail_subtotal_visible_flag &&
    time_detail_start_end_time_visible_flag == other.time_detail_start_end_time_visible_flag &&
    time_detail_hours_visible_flag == other.time_detail_hours_visible_flag &&
    time_detail_members_visible_flag == other.time_detail_members_visible_flag &&
    time_detail_billable_visible_flag == other.time_detail_billable_visible_flag &&
    time_detail_extended_amount_visible_flag == other.time_detail_extended_amount_visible_flag &&
    time_detail_dollar_amounts_on_hourse_based_visible_flag == other.time_detail_dollar_amounts_on_hourse_based_visible_flag &&
    time_detail_hourly_rate_visible_flag == other.time_detail_hourly_rate_visible_flag &&
    time_detail_contacts_visible_flag == other.time_detail_contacts_visible_flag &&
    time_detail_notes_visible_flag == other.time_detail_notes_visible_flag &&
    time_detail_non_billable_caption == other.time_detail_non_billable_caption &&
    time_detail_agreement_visible_flag == other.time_detail_agreement_visible_flag &&
    time_detail_hours_based_hours_visible_flag == other.time_detail_hours_based_hours_visible_flag &&
    time_detail_hours_based_ext_amount_visible_flag == other.time_detail_hours_based_ext_amount_visible_flag &&
    time_detail_hoursbased_hourly_rate_visible_flag == other.time_detail_hoursbased_hourly_rate_visible_flag &&
    time_detail_amount_based_hours_visible_flag == other.time_detail_amount_based_hours_visible_flag &&
    time_detail_amount_based_ext_amount_visible_flag == other.time_detail_amount_based_ext_amount_visible_flag &&
    time_detail_amount_based_hourly_rate_visible_flag == other.time_detail_amount_based_hourly_rate_visible_flag &&
    time_detail_sr_ticket_summary_visible_flag == other.time_detail_sr_ticket_summary_visible_flag &&
    time_detail_sr_contact_visible_flag == other.time_detail_sr_contact_visible_flag &&
    time_detail_sr_address_visible_flag == other.time_detail_sr_address_visible_flag &&
    time_detail_pm_phase_visible_flag == other.time_detail_pm_phase_visible_flag &&
    time_detail_pm_summary_visible_flag == other.time_detail_pm_summary_visible_flag &&
    time_detail_ticket_number_visible_flag == other.time_detail_ticket_number_visible_flag &&
    time_detail_dates_visible_flag == other.time_detail_dates_visible_flag &&
    services_staff_caption == other.services_staff_caption &&
    services_staff_visible_flag == other.services_staff_visible_flag &&
    services_amount_caption == other.services_amount_caption &&
    services_amount_visible_flag == other.services_amount_visible_flag &&
    services_hours_caption == other.services_hours_caption &&
    services_hours_visible_flag == other.services_hours_visible_flag &&
    services_rate_caption == other.services_rate_caption &&
    services_rate_visible_flag == other.services_rate_visible_flag &&
    services_work_role_caption == other.services_work_role_caption &&
    services_work_role_visible_flag == other.services_work_role_visible_flag &&
    services_work_type_caption == other.services_work_type_caption &&
    services_work_type_visible_flag == other.services_work_type_visible_flag &&
    services_total_visible_flag == other.services_total_visible_flag &&
    services_member_name_visible_flag == other.services_member_name_visible_flag &&
    services_member_name_caption == other.services_member_name_caption &&
    currency_id_visible_flag == other.currency_id_visible_flag &&
    currency_symbol_visible_flag == other.currency_symbol_visible_flag &&
    portal_flag == other.portal_flag &&
    services_collapsed_flag == other.services_collapsed_flag &&
    expenses_collapsed_flag == other.expenses_collapsed_flag &&
    other_charges_collapsed_flag == other.other_charges_collapsed_flag &&
    expenses_type_caption == other.expenses_type_caption &&
    expenses_staff_caption == other.expenses_staff_caption &&
    expenses_amount_caption == other.expenses_amount_caption &&
    expenses_type_visible_flag == other.expenses_type_visible_flag &&
    expenses_staff_visible_flag == other.expenses_staff_visible_flag &&
    expenses_amount_visible_flag == other.expenses_amount_visible_flag &&
    expenses_total_visible_flag == other.expenses_total_visible_flag &&
    expense_detail_subtotal_visible_flag == other.expense_detail_subtotal_visible_flag &&
    expense_detail_members_visible_flag == other.expense_detail_members_visible_flag &&
    expense_detail_contacts_visible_flag == other.expense_detail_contacts_visible_flag &&
    expense_detail_billable_visible_flag == other.expense_detail_billable_visible_flag &&
    expense_detail_ext_amount_visible_flag == other.expense_detail_ext_amount_visible_flag &&
    expense_detail_notes_visible_flag == other.expense_detail_notes_visible_flag &&
    expense_detail_primary_sort_field == other.expense_detail_primary_sort_field &&
    expense_detail_primary_sort_direction == other.expense_detail_primary_sort_direction &&
    expense_detail_secondary_sort_field == other.expense_detail_secondary_sort_field &&
    expense_detail_secondary_sort_direction == other.expense_detail_secondary_sort_direction &&
    expense_detail_nonbillable_caption == other.expense_detail_nonbillable_caption &&
    expense_detail_visible_flag == other.expense_detail_visible_flag &&
    expense_detail_agreement_visible_flag == other.expense_detail_agreement_visible_flag &&
    expense_detail_agreement_ext_amount_visible_flag == other.expense_detail_agreement_ext_amount_visible_flag &&
    expense_detail_ticket_number_visible_flag == other.expense_detail_ticket_number_visible_flag &&
    expense_detail_sr_ticket_summary_visible_flag == other.expense_detail_sr_ticket_summary_visible_flag &&
    expense_detail_sr_contact_visible_flag == other.expense_detail_sr_contact_visible_flag &&
    expense_detail_sr_address_visible_flag == other.expense_detail_sr_address_visible_flag &&
    expense_detail_pm_phase_visible_flag == other.expense_detail_pm_phase_visible_flag &&
    expense_detail_pm_summary_visible_flag == other.expense_detail_pm_summary_visible_flag &&
    other_charges_amount_caption == other.other_charges_amount_caption &&
    other_charges_amount_visible_flag == other.other_charges_amount_visible_flag &&
    other_charges_description_caption == other.other_charges_description_caption &&
    other_charges_description_visible_flag == other.other_charges_description_visible_flag &&
    other_charges_display_six_decimals == other.other_charges_display_six_decimals &&
    other_charges_item_id_visible_flag == other.other_charges_item_id_visible_flag &&
    other_charges_price_caption == other.other_charges_price_caption &&
    other_charges_price_visible_flag == other.other_charges_price_visible_flag &&
    other_charges_quantity_caption == other.other_charges_quantity_caption &&
    other_charges_quantity_visible_flag == other.other_charges_quantity_visible_flag &&
    other_charges_serial_number_visible_flag == other.other_charges_serial_number_visible_flag &&
    other_charges_total_visible_flag == other.other_charges_total_visible_flag &&
    adjustment_description_visible_flag == other.adjustment_description_visible_flag &&
    adjustment_description_caption == other.adjustment_description_caption &&
    adjustment_quantity_visible_flag == other.adjustment_quantity_visible_flag &&
    adjustment_quantity_caption == other.adjustment_quantity_caption &&
    adjustment_amount_visible_flag == other.adjustment_amount_visible_flag &&
    adjustment_amount_caption == other.adjustment_amount_caption &&
    adjustment_agr_type_visible_flag == other.adjustment_agr_type_visible_flag &&
    adjustment_total_visible_flag == other.adjustment_total_visible_flag &&
    adjustment_price_visible_flag == other.adjustment_price_visible_flag &&
    adjustment_price_caption == other.adjustment_price_caption &&
    _info == other._info
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
# File 'lib/connect_wise/models/invoice_template.rb', line 1330

def _deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = ConnectWise.const_get(type)
    klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'lib/connect_wise/models/invoice_template.rb', line 1401

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
# File 'lib/connect_wise/models/invoice_template.rb', line 1307

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)

  attributes = attributes.transform_keys(&:to_sym)
  self.class.openapi_types.each_pair do |key, type|
    if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
      send("#{key}=", nil)
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize(::Regexp.last_match(1), v) }) if attributes[self.class.attribute_map[key]].is_a?(Array)
    elsif !attributes[self.class.attribute_map[key]].nil?
      send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end
  end

  self
end

#eql?(other) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1287
1288
1289
# File 'lib/connect_wise/models/invoice_template.rb', line 1287

def eql?(other)
  self == other
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1293
1294
1295
# File 'lib/connect_wise/models/invoice_template.rb', line 1293

def hash
  [name, id, margin_left, margin_right, margin_top, margin_bottom, logo_visible_flag, header_logo_position, remit_to_visible_flag, header_address_position, header_title_visible_flag, header_title_caption, header_title_position, header_title_font, header_terms_visible_flag, header_terms_caption, header_due_date_visible_flag, header_due_date_caption, header_po_number_visible_flag, header_po_number_caption, header_reference_visible_flag, header_reference_caption, , , header_tax_id_visible_flag, header_tax_id_caption, header_ship_to_visible_flag, header_ship_to_caption, header_hours_based_extended_amount_visible_flag, payable_caption, service_header_ticket_number_visible_flag, service_header_ticket_number_caption, service_header_company_name_visible_flag, service_header_company_name_caption, service_header_summary_visible_flag, service_header_summary_caption, service_header_contact_name_visible_flag, service_header_contact_name_caption, service_header_detail_description_visible_flag, service_header_detail_description_caption, service_header_resolution_visible_flag, service_header_resolution_caption, service_header_amount_visible_flag, service_header_amount_caption, service_header_billing_method_visible_flag, service_header_billing_method_caption, service_header_closed_tasks_visible_flag, service_header_open_tasks_visible_flag, service_header_bundled_tickets_visible_flag, project_header_project_name_visible_flag, project_header_project_name_caption, project_header_company_name_visible_flag, project_header_company_name_caption, project_header_original_downpayment_visible_flag, project_header_original_downpayment_caption, project_header_contact_name_visible_flag, project_header_contact_name_caption, project_header_amount_visible_flag, project_header_amount_caption, project_header_billing_method_visible_flag, project_header_billing_method_caption, project_header_billing_type_visible_flag, project_header_billing_type_caption, invoice_payment_amount_visible_flag, invoice_payment_amount_caption, invoice_credit_amount_visible_flag, invoice_credit_amount_caption, invoice_balance_due_visible_flag, invoice_balance_due_caption, credit_credit_amount_visible_flag, credit_credit_amount_caption, credit_remaining_amount_visible_flag, credit_remaining_amount_caption, time_detail_visible_flag, time_detail_primary_sort_field, time_detail_primary_sort_direction, time_detail_secondary_sort_field, time_detail_secondary_sort_direction, time_detail_subtotal_visible_flag, time_detail_start_end_time_visible_flag, time_detail_hours_visible_flag, time_detail_members_visible_flag, time_detail_billable_visible_flag, time_detail_extended_amount_visible_flag, time_detail_dollar_amounts_on_hourse_based_visible_flag, time_detail_hourly_rate_visible_flag, time_detail_contacts_visible_flag, time_detail_notes_visible_flag, time_detail_non_billable_caption, time_detail_agreement_visible_flag, time_detail_hours_based_hours_visible_flag, time_detail_hours_based_ext_amount_visible_flag, time_detail_hoursbased_hourly_rate_visible_flag, time_detail_amount_based_hours_visible_flag, time_detail_amount_based_ext_amount_visible_flag, time_detail_amount_based_hourly_rate_visible_flag, time_detail_sr_ticket_summary_visible_flag, time_detail_sr_contact_visible_flag, time_detail_sr_address_visible_flag, time_detail_pm_phase_visible_flag, time_detail_pm_summary_visible_flag, time_detail_ticket_number_visible_flag, time_detail_dates_visible_flag, services_staff_caption, services_staff_visible_flag, services_amount_caption, services_amount_visible_flag, services_hours_caption, services_hours_visible_flag, services_rate_caption, services_rate_visible_flag, services_work_role_caption, services_work_role_visible_flag, services_work_type_caption, services_work_type_visible_flag, services_total_visible_flag, services_member_name_visible_flag, services_member_name_caption, currency_id_visible_flag, currency_symbol_visible_flag, portal_flag, services_collapsed_flag, expenses_collapsed_flag, other_charges_collapsed_flag, expenses_type_caption, expenses_staff_caption, expenses_amount_caption, expenses_type_visible_flag, expenses_staff_visible_flag, expenses_amount_visible_flag, expenses_total_visible_flag, expense_detail_subtotal_visible_flag, expense_detail_members_visible_flag, expense_detail_contacts_visible_flag, expense_detail_billable_visible_flag, expense_detail_ext_amount_visible_flag, expense_detail_notes_visible_flag, expense_detail_primary_sort_field, expense_detail_primary_sort_direction, expense_detail_secondary_sort_field, expense_detail_secondary_sort_direction, expense_detail_nonbillable_caption, expense_detail_visible_flag, expense_detail_agreement_visible_flag, expense_detail_agreement_ext_amount_visible_flag, expense_detail_ticket_number_visible_flag, expense_detail_sr_ticket_summary_visible_flag, expense_detail_sr_contact_visible_flag, expense_detail_sr_address_visible_flag, expense_detail_pm_phase_visible_flag, expense_detail_pm_summary_visible_flag, other_charges_amount_caption, other_charges_amount_visible_flag, other_charges_description_caption, other_charges_description_visible_flag, other_charges_display_six_decimals, other_charges_item_id_visible_flag, other_charges_price_caption, other_charges_price_visible_flag, other_charges_quantity_caption, other_charges_quantity_visible_flag, other_charges_serial_number_visible_flag, other_charges_total_visible_flag, adjustment_description_visible_flag, adjustment_description_caption, adjustment_quantity_visible_flag, adjustment_quantity_caption, adjustment_amount_visible_flag, adjustment_amount_caption, adjustment_agr_type_visible_flag, adjustment_total_visible_flag, adjustment_price_visible_flag, adjustment_price_caption, _info].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



1040
1041
1042
1043
1044
1045
# File 'lib/connect_wise/models/invoice_template.rb', line 1040

def list_invalid_properties
  invalid_properties = []
  invalid_properties.push('invalid value for "name", name cannot be nil.') if @name.nil?

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



1377
1378
1379
# File 'lib/connect_wise/models/invoice_template.rb', line 1377

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
# File 'lib/connect_wise/models/invoice_template.rb', line 1383

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



1371
1372
1373
# File 'lib/connect_wise/models/invoice_template.rb', line 1371

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
# File 'lib/connect_wise/models/invoice_template.rb', line 1049

def valid?
  return false if @name.nil?

  header_logo_position_validator = EnumAttributeValidator.new('String', %w[Center LeftSide RightSide])
  return false unless header_logo_position_validator.valid?(@header_logo_position)

  header_address_position_validator = EnumAttributeValidator.new('String', %w[Center LeftSide RightSide])
  return false unless header_address_position_validator.valid?(@header_address_position)

  header_title_position_validator = EnumAttributeValidator.new('String', %w[Center LeftSide RightSide])
  return false unless header_title_position_validator.valid?(@header_title_position)

  header_title_font_validator = EnumAttributeValidator.new('String', %w[Regular RegularBold Large LargeBold ExtraLarge ExtraLargeBold])
  return false unless header_title_font_validator.valid?(@header_title_font)

  true
end