Class: Komoju::LiveApplicationRequest
- Inherits:
-
Object
- Object
- Komoju::LiveApplicationRequest
- Defined in:
- lib/komoju-sdk/models/live_application_request.rb
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#applicant_information_country ⇒ Object
Returns the value of attribute applicant_information_country.
-
#applicant_information_date_of_birth ⇒ Object
Applicant’s date of birth (YYYY-MM-DD format).
-
#applicant_information_first_name ⇒ Object
Applicant’s first name.
-
#applicant_information_first_name_kana ⇒ Object
Applicant’s first name in katakana.
-
#applicant_information_gender ⇒ Object
Applicant’s gender.
-
#applicant_information_identity_back ⇒ Object
File ID of the back side of the uploaded identity document.
-
#applicant_information_identity_document_type ⇒ Object
Type of identity document submitted for verification.
-
#applicant_information_identity_front ⇒ Object
File ID of the front side of the uploaded identity document.
-
#applicant_information_last_name ⇒ Object
Applicant’s last name.
-
#applicant_information_last_name_kana ⇒ Object
Applicant’s last name in katakana.
-
#bank_account_information_currency ⇒ Object
Returns the value of attribute bank_account_information_currency.
-
#bank_account_information_default_frequency ⇒ Object
Returns the value of attribute bank_account_information_default_frequency.
-
#bank_account_information_transfer_type ⇒ Object
Type of bank transfer supported (currently only "domestic").
-
#bank_account_information_zengin_account_holder_kana ⇒ Object
Account holder name in katakana as registered with the bank.
-
#bank_account_information_zengin_account_number ⇒ Object
Bank account number.
-
#bank_account_information_zengin_account_type ⇒ Object
Type of bank account (ordinary or checking).
-
#bank_account_information_zengin_bank_code ⇒ Object
4-digit bank code in the Zengin network.
-
#bank_account_information_zengin_bank_name ⇒ Object
Name of the merchant’s bank (Zengin network).
-
#bank_account_information_zengin_branch_code ⇒ Object
3-digit branch code.
-
#bank_account_information_zengin_branch_name ⇒ Object
Name of the bank branch.
-
#company_information_business_description ⇒ Object
Description of the company’s business activities and products/services sold.
-
#company_information_company_address ⇒ Object
Street address of the company.
-
#company_information_company_address_building_name ⇒ Object
Building name portion of the company address.
-
#company_information_company_address_building_name_kana ⇒ Object
Building name in katakana.
-
#company_information_company_address_kana ⇒ Object
Street address in katakana.
-
#company_information_company_city ⇒ Object
City of the company’s registered address.
-
#company_information_company_city_kana ⇒ Object
City name in katakana.
-
#company_information_company_country ⇒ Object
Returns the value of attribute company_information_company_country.
-
#company_information_company_name ⇒ Object
Registered legal name of the company.
-
#company_information_company_name_alphabet ⇒ Object
Company name in alphanumeric (Roman) characters.
-
#company_information_company_name_kana ⇒ Object
Company name in katakana.
-
#company_information_company_phone ⇒ Object
Company contact phone number.
-
#company_information_company_postal_code ⇒ Object
Postal code of the company’s registered address.
-
#company_information_company_prefecture_state ⇒ Object
Prefecture or state of the company’s registered address.
-
#company_information_company_prefecture_state_kana ⇒ Object
Prefecture or state in katakana.
-
#company_information_company_url ⇒ Object
URL of the company’s website.
-
#company_information_contact_email ⇒ Object
Primary contact email address for the company.
-
#company_information_contact_phone ⇒ Object
Primary contact phone number for the company.
-
#company_information_corporation_type ⇒ Object
Whether the business is a sole proprietorship or corporation.
-
#company_information_employee_number ⇒ Object
Number of employees at the company.
-
#company_information_establishment_date ⇒ Object
Date the company was established (YYYY-MM-DD format).
-
#company_information_incorporation_certificates ⇒ Object
File IDs of uploaded incorporation certificate documents.
-
#company_information_industry_description ⇒ Object
Description of the industry the company operates in.
-
#company_information_office_name ⇒ Object
Name of the specific office or branch.
-
#company_information_registration_number ⇒ Object
Company registration number.
-
#company_information_share_capital_amount ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
-
#company_information_share_capital_currency ⇒ Object
Returns the value of attribute company_information_share_capital_currency.
-
#company_information_sole_proprietor_proofs ⇒ Object
File IDs of uploaded sole proprietorship proof documents.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#representative_director_information_address ⇒ Object
Street address of the representative director.
-
#representative_director_information_address_building_name ⇒ Object
Building name portion of the representative director’s address.
-
#representative_director_information_address_building_name_kana ⇒ Object
Building name in katakana.
-
#representative_director_information_address_kana ⇒ Object
Street address in katakana.
-
#representative_director_information_city ⇒ Object
City of the representative director’s address.
-
#representative_director_information_city_kana ⇒ Object
City name in katakana.
-
#representative_director_information_country ⇒ Object
Returns the value of attribute representative_director_information_country.
-
#representative_director_information_date_of_birth ⇒ Object
Representative director’s date of birth (YYYY-MM-DD format).
-
#representative_director_information_first_name ⇒ Object
Representative director’s first name.
-
#representative_director_information_first_name_kana ⇒ Object
Representative director’s first name in katakana.
-
#representative_director_information_gender ⇒ Object
Representative director’s gender.
-
#representative_director_information_last_name ⇒ Object
Representative director’s last name.
-
#representative_director_information_last_name_kana ⇒ Object
Representative director’s last name in katakana.
-
#representative_director_information_phone ⇒ Object
Representative director’s phone number.
-
#representative_director_information_postal_code ⇒ Object
Postal code of the representative director’s address.
-
#representative_director_information_prefecture_state ⇒ Object
Prefecture or state of the representative director’s address.
-
#representative_director_information_prefecture_state_kana ⇒ Object
Prefecture or state in katakana.
-
#service_agreement_agreed_to_tos ⇒ Object
Whether the merchant has agreed to KOMOJU’s terms of service.
-
#site_information_aup_accepted ⇒ Object
Whether the merchant has accepted the Acceptable Use Policy.
-
#site_information_establishment_date ⇒ Object
Date the online store was established (YYYY-MM-DD format).
-
#site_information_industry_type ⇒ Object
Returns the value of attribute site_information_industry_type.
-
#site_information_sales_permit_required ⇒ Object
Whether a sales permit is required for the merchant’s business type.
-
#site_information_sales_permits ⇒ Object
File IDs of uploaded sales permit documents.
-
#site_information_sctl_url ⇒ Object
URL of the merchant’s Specified Commercial Transaction Law disclosure page.
-
#site_information_site_annual_sales ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
-
#site_information_site_annual_sales_currency ⇒ Object
Returns the value of attribute site_information_site_annual_sales_currency.
-
#site_information_site_average_transactional_currency ⇒ Object
Returns the value of attribute site_information_site_average_transactional_currency.
-
#site_information_site_average_transactional_value ⇒ Object
Average transaction value as a formatted string.
-
#site_information_site_maximum_product_pricing_cents ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
-
#site_information_site_maximum_product_pricing_currency ⇒ Object
Returns the value of attribute site_information_site_maximum_product_pricing_currency.
-
#site_information_site_minimum_product_pricing_cents ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
-
#site_information_site_minimum_product_pricing_currency ⇒ Object
Returns the value of attribute site_information_site_minimum_product_pricing_currency.
-
#site_information_site_name ⇒ Object
Name of the merchant’s website or online store.
-
#site_information_site_name_alphabet ⇒ Object
Site name in alphanumeric (Roman) characters.
-
#site_information_site_name_kana ⇒ Object
Site name in katakana.
-
#site_information_site_product_description ⇒ Object
Description of the products or services sold on the site.
-
#site_information_site_url ⇒ Object
URL of the merchant’s online store.
-
#site_information_store_address ⇒ Object
Street address of the store’s physical location.
-
#site_information_store_address_kana ⇒ Object
Store street address in katakana.
-
#site_information_store_building_name ⇒ Object
Building name for the store’s address.
-
#site_information_store_building_name_kana ⇒ Object
Building name in katakana.
-
#site_information_store_city ⇒ Object
City of the store’s physical location.
-
#site_information_store_city_kana ⇒ Object
City name in katakana.
-
#site_information_store_country ⇒ Object
Returns the value of attribute site_information_store_country.
-
#site_information_store_postal_code ⇒ Object
Postal code of the store’s physical location.
-
#site_information_store_prefecture_state ⇒ Object
Prefecture or state of the store’s physical location.
-
#site_information_store_prefecture_state_kana ⇒ Object
Prefecture or state in katakana.
Class Method Summary collapse
-
._deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ LiveApplicationRequest
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ LiveApplicationRequest
Initializes the object
532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 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 673 674 675 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 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 532 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Komoju::LiveApplicationRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `Komoju::LiveApplicationRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'locale') self.locale = attributes[:'locale'] end if attributes.key?(:'service_agreement_agreed_to_tos') self.service_agreement_agreed_to_tos = attributes[:'service_agreement_agreed_to_tos'] end if attributes.key?(:'company_information_company_name') self.company_information_company_name = attributes[:'company_information_company_name'] end if attributes.key?(:'company_information_company_phone') self.company_information_company_phone = attributes[:'company_information_company_phone'] end if attributes.key?(:'company_information_company_country') self.company_information_company_country = attributes[:'company_information_company_country'] end if attributes.key?(:'company_information_corporation_type') self.company_information_corporation_type = attributes[:'company_information_corporation_type'] end if attributes.key?(:'company_information_company_postal_code') self.company_information_company_postal_code = attributes[:'company_information_company_postal_code'] end if attributes.key?(:'company_information_company_prefecture_state') self.company_information_company_prefecture_state = attributes[:'company_information_company_prefecture_state'] end if attributes.key?(:'company_information_company_prefecture_state_kana') self.company_information_company_prefecture_state_kana = attributes[:'company_information_company_prefecture_state_kana'] end if attributes.key?(:'company_information_company_city') self.company_information_company_city = attributes[:'company_information_company_city'] end if attributes.key?(:'company_information_company_city_kana') self.company_information_company_city_kana = attributes[:'company_information_company_city_kana'] end if attributes.key?(:'company_information_company_address') self.company_information_company_address = attributes[:'company_information_company_address'] end if attributes.key?(:'company_information_industry_description') self.company_information_industry_description = attributes[:'company_information_industry_description'] end if attributes.key?(:'company_information_business_description') self.company_information_business_description = attributes[:'company_information_business_description'] end if attributes.key?(:'company_information_employee_number') self.company_information_employee_number = attributes[:'company_information_employee_number'] end if attributes.key?(:'company_information_establishment_date') self.company_information_establishment_date = attributes[:'company_information_establishment_date'] end if attributes.key?(:'company_information_office_name') self.company_information_office_name = attributes[:'company_information_office_name'] end if attributes.key?(:'company_information_contact_email') self.company_information_contact_email = attributes[:'company_information_contact_email'] end if attributes.key?(:'company_information_contact_phone') self.company_information_contact_phone = attributes[:'company_information_contact_phone'] end if attributes.key?(:'company_information_incorporation_certificates') if (value = attributes[:'company_information_incorporation_certificates']).is_a?(Array) self.company_information_incorporation_certificates = value end end if attributes.key?(:'company_information_registration_number') self.company_information_registration_number = attributes[:'company_information_registration_number'] end if attributes.key?(:'company_information_share_capital_amount') self.company_information_share_capital_amount = attributes[:'company_information_share_capital_amount'] end if attributes.key?(:'company_information_share_capital_currency') self.company_information_share_capital_currency = attributes[:'company_information_share_capital_currency'] end if attributes.key?(:'company_information_sole_proprietor_proofs') if (value = attributes[:'company_information_sole_proprietor_proofs']).is_a?(Array) self.company_information_sole_proprietor_proofs = value end end if attributes.key?(:'company_information_company_name_kana') self.company_information_company_name_kana = attributes[:'company_information_company_name_kana'] end if attributes.key?(:'company_information_company_name_alphabet') self.company_information_company_name_alphabet = attributes[:'company_information_company_name_alphabet'] end if attributes.key?(:'company_information_company_url') self.company_information_company_url = attributes[:'company_information_company_url'] end if attributes.key?(:'company_information_company_address_kana') self.company_information_company_address_kana = attributes[:'company_information_company_address_kana'] end if attributes.key?(:'company_information_company_address_building_name') self.company_information_company_address_building_name = attributes[:'company_information_company_address_building_name'] end if attributes.key?(:'company_information_company_address_building_name_kana') self.company_information_company_address_building_name_kana = attributes[:'company_information_company_address_building_name_kana'] end if attributes.key?(:'representative_director_information_first_name') self.representative_director_information_first_name = attributes[:'representative_director_information_first_name'] end if attributes.key?(:'representative_director_information_first_name_kana') self.representative_director_information_first_name_kana = attributes[:'representative_director_information_first_name_kana'] end if attributes.key?(:'representative_director_information_last_name') self.representative_director_information_last_name = attributes[:'representative_director_information_last_name'] end if attributes.key?(:'representative_director_information_last_name_kana') self.representative_director_information_last_name_kana = attributes[:'representative_director_information_last_name_kana'] end if attributes.key?(:'representative_director_information_date_of_birth') self.representative_director_information_date_of_birth = attributes[:'representative_director_information_date_of_birth'] end if attributes.key?(:'representative_director_information_gender') self.representative_director_information_gender = attributes[:'representative_director_information_gender'] end if attributes.key?(:'representative_director_information_country') self.representative_director_information_country = attributes[:'representative_director_information_country'] end if attributes.key?(:'representative_director_information_postal_code') self.representative_director_information_postal_code = attributes[:'representative_director_information_postal_code'] end if attributes.key?(:'representative_director_information_prefecture_state') self.representative_director_information_prefecture_state = attributes[:'representative_director_information_prefecture_state'] end if attributes.key?(:'representative_director_information_prefecture_state_kana') self.representative_director_information_prefecture_state_kana = attributes[:'representative_director_information_prefecture_state_kana'] end if attributes.key?(:'representative_director_information_city') self.representative_director_information_city = attributes[:'representative_director_information_city'] end if attributes.key?(:'representative_director_information_city_kana') self.representative_director_information_city_kana = attributes[:'representative_director_information_city_kana'] end if attributes.key?(:'representative_director_information_address') self.representative_director_information_address = attributes[:'representative_director_information_address'] end if attributes.key?(:'representative_director_information_address_kana') self.representative_director_information_address_kana = attributes[:'representative_director_information_address_kana'] end if attributes.key?(:'representative_director_information_address_building_name') self.representative_director_information_address_building_name = attributes[:'representative_director_information_address_building_name'] end if attributes.key?(:'representative_director_information_address_building_name_kana') self.representative_director_information_address_building_name_kana = attributes[:'representative_director_information_address_building_name_kana'] end if attributes.key?(:'representative_director_information_phone') self.representative_director_information_phone = attributes[:'representative_director_information_phone'] end if attributes.key?(:'applicant_information_first_name') self.applicant_information_first_name = attributes[:'applicant_information_first_name'] end if attributes.key?(:'applicant_information_first_name_kana') self.applicant_information_first_name_kana = attributes[:'applicant_information_first_name_kana'] end if attributes.key?(:'applicant_information_last_name') self.applicant_information_last_name = attributes[:'applicant_information_last_name'] end if attributes.key?(:'applicant_information_last_name_kana') self.applicant_information_last_name_kana = attributes[:'applicant_information_last_name_kana'] end if attributes.key?(:'applicant_information_country') self.applicant_information_country = attributes[:'applicant_information_country'] end if attributes.key?(:'applicant_information_gender') self.applicant_information_gender = attributes[:'applicant_information_gender'] end if attributes.key?(:'applicant_information_date_of_birth') self.applicant_information_date_of_birth = attributes[:'applicant_information_date_of_birth'] end if attributes.key?(:'applicant_information_identity_document_type') self.applicant_information_identity_document_type = attributes[:'applicant_information_identity_document_type'] end if attributes.key?(:'applicant_information_identity_front') self.applicant_information_identity_front = attributes[:'applicant_information_identity_front'] end if attributes.key?(:'applicant_information_identity_back') self.applicant_information_identity_back = attributes[:'applicant_information_identity_back'] end if attributes.key?(:'site_information_site_name') self.site_information_site_name = attributes[:'site_information_site_name'] end if attributes.key?(:'site_information_site_name_kana') self.site_information_site_name_kana = attributes[:'site_information_site_name_kana'] end if attributes.key?(:'site_information_site_name_alphabet') self.site_information_site_name_alphabet = attributes[:'site_information_site_name_alphabet'] end if attributes.key?(:'site_information_site_url') self.site_information_site_url = attributes[:'site_information_site_url'] end if attributes.key?(:'site_information_establishment_date') self.site_information_establishment_date = attributes[:'site_information_establishment_date'] end if attributes.key?(:'site_information_store_country') self.site_information_store_country = attributes[:'site_information_store_country'] end if attributes.key?(:'site_information_store_postal_code') self.site_information_store_postal_code = attributes[:'site_information_store_postal_code'] end if attributes.key?(:'site_information_store_prefecture_state') self.site_information_store_prefecture_state = attributes[:'site_information_store_prefecture_state'] end if attributes.key?(:'site_information_store_prefecture_state_kana') self.site_information_store_prefecture_state_kana = attributes[:'site_information_store_prefecture_state_kana'] end if attributes.key?(:'site_information_store_city') self.site_information_store_city = attributes[:'site_information_store_city'] end if attributes.key?(:'site_information_store_city_kana') self.site_information_store_city_kana = attributes[:'site_information_store_city_kana'] end if attributes.key?(:'site_information_store_address') self.site_information_store_address = attributes[:'site_information_store_address'] end if attributes.key?(:'site_information_store_address_kana') self.site_information_store_address_kana = attributes[:'site_information_store_address_kana'] end if attributes.key?(:'site_information_store_building_name') self.site_information_store_building_name = attributes[:'site_information_store_building_name'] end if attributes.key?(:'site_information_store_building_name_kana') self.site_information_store_building_name_kana = attributes[:'site_information_store_building_name_kana'] end if attributes.key?(:'site_information_site_product_description') self.site_information_site_product_description = attributes[:'site_information_site_product_description'] end if attributes.key?(:'site_information_site_annual_sales') self.site_information_site_annual_sales = attributes[:'site_information_site_annual_sales'] end if attributes.key?(:'site_information_site_annual_sales_currency') self.site_information_site_annual_sales_currency = attributes[:'site_information_site_annual_sales_currency'] end if attributes.key?(:'site_information_site_average_transactional_value') self.site_information_site_average_transactional_value = attributes[:'site_information_site_average_transactional_value'] end if attributes.key?(:'site_information_site_average_transactional_currency') self.site_information_site_average_transactional_currency = attributes[:'site_information_site_average_transactional_currency'] end if attributes.key?(:'site_information_site_minimum_product_pricing_cents') self.site_information_site_minimum_product_pricing_cents = attributes[:'site_information_site_minimum_product_pricing_cents'] end if attributes.key?(:'site_information_site_minimum_product_pricing_currency') self.site_information_site_minimum_product_pricing_currency = attributes[:'site_information_site_minimum_product_pricing_currency'] end if attributes.key?(:'site_information_site_maximum_product_pricing_cents') self.site_information_site_maximum_product_pricing_cents = attributes[:'site_information_site_maximum_product_pricing_cents'] end if attributes.key?(:'site_information_site_maximum_product_pricing_currency') self.site_information_site_maximum_product_pricing_currency = attributes[:'site_information_site_maximum_product_pricing_currency'] end if attributes.key?(:'site_information_sctl_url') self.site_information_sctl_url = attributes[:'site_information_sctl_url'] end if attributes.key?(:'site_information_sales_permit_required') self.site_information_sales_permit_required = attributes[:'site_information_sales_permit_required'] end if attributes.key?(:'site_information_aup_accepted') self.site_information_aup_accepted = attributes[:'site_information_aup_accepted'] end if attributes.key?(:'site_information_industry_type') self.site_information_industry_type = attributes[:'site_information_industry_type'] end if attributes.key?(:'site_information_sales_permits') if (value = attributes[:'site_information_sales_permits']).is_a?(Array) self.site_information_sales_permits = value end end if attributes.key?(:'bank_account_information_zengin_bank_name') self.bank_account_information_zengin_bank_name = attributes[:'bank_account_information_zengin_bank_name'] end if attributes.key?(:'bank_account_information_zengin_bank_code') self.bank_account_information_zengin_bank_code = attributes[:'bank_account_information_zengin_bank_code'] end if attributes.key?(:'bank_account_information_zengin_branch_name') self.bank_account_information_zengin_branch_name = attributes[:'bank_account_information_zengin_branch_name'] end if attributes.key?(:'bank_account_information_zengin_branch_code') self.bank_account_information_zengin_branch_code = attributes[:'bank_account_information_zengin_branch_code'] end if attributes.key?(:'bank_account_information_zengin_account_type') self.bank_account_information_zengin_account_type = attributes[:'bank_account_information_zengin_account_type'] end if attributes.key?(:'bank_account_information_zengin_account_number') self.bank_account_information_zengin_account_number = attributes[:'bank_account_information_zengin_account_number'] end if attributes.key?(:'bank_account_information_zengin_account_holder_kana') self.bank_account_information_zengin_account_holder_kana = attributes[:'bank_account_information_zengin_account_holder_kana'] end if attributes.key?(:'bank_account_information_transfer_type') self.bank_account_information_transfer_type = attributes[:'bank_account_information_transfer_type'] end if attributes.key?(:'bank_account_information_currency') self.bank_account_information_currency = attributes[:'bank_account_information_currency'] end if attributes.key?(:'bank_account_information_default_frequency') self.bank_account_information_default_frequency = attributes[:'bank_account_information_default_frequency'] end end |
Instance Attribute Details
#applicant_information_country ⇒ Object
Returns the value of attribute applicant_information_country.
167 168 169 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 167 def applicant_information_country @applicant_information_country end |
#applicant_information_date_of_birth ⇒ Object
Applicant’s date of birth (YYYY-MM-DD format).
173 174 175 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 173 def applicant_information_date_of_birth @applicant_information_date_of_birth end |
#applicant_information_first_name ⇒ Object
Applicant’s first name.
156 157 158 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 156 def applicant_information_first_name @applicant_information_first_name end |
#applicant_information_first_name_kana ⇒ Object
Applicant’s first name in katakana.
159 160 161 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 159 def applicant_information_first_name_kana @applicant_information_first_name_kana end |
#applicant_information_gender ⇒ Object
Applicant’s gender.
170 171 172 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 170 def applicant_information_gender @applicant_information_gender end |
#applicant_information_identity_back ⇒ Object
File ID of the back side of the uploaded identity document.
182 183 184 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 182 def applicant_information_identity_back @applicant_information_identity_back end |
#applicant_information_identity_document_type ⇒ Object
Type of identity document submitted for verification.
176 177 178 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 176 def applicant_information_identity_document_type @applicant_information_identity_document_type end |
#applicant_information_identity_front ⇒ Object
File ID of the front side of the uploaded identity document.
179 180 181 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 179 def applicant_information_identity_front @applicant_information_identity_front end |
#applicant_information_last_name ⇒ Object
Applicant’s last name.
162 163 164 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 162 def applicant_information_last_name @applicant_information_last_name end |
#applicant_information_last_name_kana ⇒ Object
Applicant’s last name in katakana.
165 166 167 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 165 def applicant_information_last_name_kana @applicant_information_last_name_kana end |
#bank_account_information_currency ⇒ Object
Returns the value of attribute bank_account_information_currency.
289 290 291 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 289 def bank_account_information_currency @bank_account_information_currency end |
#bank_account_information_default_frequency ⇒ Object
Returns the value of attribute bank_account_information_default_frequency.
291 292 293 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 291 def bank_account_information_default_frequency @bank_account_information_default_frequency end |
#bank_account_information_transfer_type ⇒ Object
Type of bank transfer supported (currently only "domestic").
287 288 289 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 287 def bank_account_information_transfer_type @bank_account_information_transfer_type end |
#bank_account_information_zengin_account_holder_kana ⇒ Object
Account holder name in katakana as registered with the bank.
284 285 286 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 284 def bank_account_information_zengin_account_holder_kana @bank_account_information_zengin_account_holder_kana end |
#bank_account_information_zengin_account_number ⇒ Object
Bank account number.
281 282 283 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 281 def bank_account_information_zengin_account_number @bank_account_information_zengin_account_number end |
#bank_account_information_zengin_account_type ⇒ Object
Type of bank account (ordinary or checking).
278 279 280 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 278 def bank_account_information_zengin_account_type @bank_account_information_zengin_account_type end |
#bank_account_information_zengin_bank_code ⇒ Object
4-digit bank code in the Zengin network.
269 270 271 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 269 def bank_account_information_zengin_bank_code @bank_account_information_zengin_bank_code end |
#bank_account_information_zengin_bank_name ⇒ Object
Name of the merchant’s bank (Zengin network).
266 267 268 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 266 def bank_account_information_zengin_bank_name @bank_account_information_zengin_bank_name end |
#bank_account_information_zengin_branch_code ⇒ Object
3-digit branch code.
275 276 277 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 275 def bank_account_information_zengin_branch_code @bank_account_information_zengin_branch_code end |
#bank_account_information_zengin_branch_name ⇒ Object
Name of the bank branch.
272 273 274 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 272 def bank_account_information_zengin_branch_name @bank_account_information_zengin_branch_name end |
#company_information_business_description ⇒ Object
Description of the company’s business activities and products/services sold.
56 57 58 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 56 def company_information_business_description @company_information_business_description end |
#company_information_company_address ⇒ Object
Street address of the company.
50 51 52 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 50 def company_information_company_address @company_information_company_address end |
#company_information_company_address_building_name ⇒ Object
Building name portion of the company address.
100 101 102 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 100 def company_information_company_address_building_name @company_information_company_address_building_name end |
#company_information_company_address_building_name_kana ⇒ Object
Building name in katakana.
103 104 105 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 103 def company_information_company_address_building_name_kana @company_information_company_address_building_name_kana end |
#company_information_company_address_kana ⇒ Object
Street address in katakana.
97 98 99 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 97 def company_information_company_address_kana @company_information_company_address_kana end |
#company_information_company_city ⇒ Object
City of the company’s registered address.
44 45 46 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 44 def company_information_company_city @company_information_company_city end |
#company_information_company_city_kana ⇒ Object
City name in katakana.
47 48 49 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 47 def company_information_company_city_kana @company_information_company_city_kana end |
#company_information_company_country ⇒ Object
Returns the value of attribute company_information_company_country.
29 30 31 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 29 def company_information_company_country @company_information_company_country end |
#company_information_company_name ⇒ Object
Registered legal name of the company.
24 25 26 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 24 def company_information_company_name @company_information_company_name end |
#company_information_company_name_alphabet ⇒ Object
Company name in alphanumeric (Roman) characters.
91 92 93 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 91 def company_information_company_name_alphabet @company_information_company_name_alphabet end |
#company_information_company_name_kana ⇒ Object
Company name in katakana.
88 89 90 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 88 def company_information_company_name_kana @company_information_company_name_kana end |
#company_information_company_phone ⇒ Object
Company contact phone number.
27 28 29 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 27 def company_information_company_phone @company_information_company_phone end |
#company_information_company_postal_code ⇒ Object
Postal code of the company’s registered address.
35 36 37 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 35 def company_information_company_postal_code @company_information_company_postal_code end |
#company_information_company_prefecture_state ⇒ Object
Prefecture or state of the company’s registered address.
38 39 40 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 38 def company_information_company_prefecture_state @company_information_company_prefecture_state end |
#company_information_company_prefecture_state_kana ⇒ Object
Prefecture or state in katakana.
41 42 43 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 41 def company_information_company_prefecture_state_kana @company_information_company_prefecture_state_kana end |
#company_information_company_url ⇒ Object
URL of the company’s website.
94 95 96 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 94 def company_information_company_url @company_information_company_url end |
#company_information_contact_email ⇒ Object
Primary contact email address for the company.
68 69 70 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 68 def company_information_contact_email @company_information_contact_email end |
#company_information_contact_phone ⇒ Object
Primary contact phone number for the company.
71 72 73 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 71 def company_information_contact_phone @company_information_contact_phone end |
#company_information_corporation_type ⇒ Object
Whether the business is a sole proprietorship or corporation.
32 33 34 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 32 def company_information_corporation_type @company_information_corporation_type end |
#company_information_employee_number ⇒ Object
Number of employees at the company.
59 60 61 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 59 def company_information_employee_number @company_information_employee_number end |
#company_information_establishment_date ⇒ Object
Date the company was established (YYYY-MM-DD format).
62 63 64 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 62 def company_information_establishment_date @company_information_establishment_date end |
#company_information_incorporation_certificates ⇒ Object
File IDs of uploaded incorporation certificate documents.
74 75 76 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 74 def company_information_incorporation_certificates @company_information_incorporation_certificates end |
#company_information_industry_description ⇒ Object
Description of the industry the company operates in.
53 54 55 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 53 def company_information_industry_description @company_information_industry_description end |
#company_information_office_name ⇒ Object
Name of the specific office or branch.
65 66 67 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 65 def company_information_office_name @company_information_office_name end |
#company_information_registration_number ⇒ Object
Company registration number.
77 78 79 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 77 def company_information_registration_number @company_information_registration_number end |
#company_information_share_capital_amount ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
80 81 82 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 80 def company_information_share_capital_amount @company_information_share_capital_amount end |
#company_information_share_capital_currency ⇒ Object
Returns the value of attribute company_information_share_capital_currency.
82 83 84 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 82 def company_information_share_capital_currency @company_information_share_capital_currency end |
#company_information_sole_proprietor_proofs ⇒ Object
File IDs of uploaded sole proprietorship proof documents.
85 86 87 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 85 def company_information_sole_proprietor_proofs @company_information_sole_proprietor_proofs end |
#locale ⇒ Object
Returns the value of attribute locale.
18 19 20 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 18 def locale @locale end |
#representative_director_information_address ⇒ Object
Street address of the representative director.
141 142 143 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 141 def representative_director_information_address @representative_director_information_address end |
#representative_director_information_address_building_name ⇒ Object
Building name portion of the representative director’s address.
147 148 149 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 147 def representative_director_information_address_building_name @representative_director_information_address_building_name end |
#representative_director_information_address_building_name_kana ⇒ Object
Building name in katakana.
150 151 152 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 150 def representative_director_information_address_building_name_kana @representative_director_information_address_building_name_kana end |
#representative_director_information_address_kana ⇒ Object
Street address in katakana.
144 145 146 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 144 def representative_director_information_address_kana @representative_director_information_address_kana end |
#representative_director_information_city ⇒ Object
City of the representative director’s address.
135 136 137 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 135 def representative_director_information_city @representative_director_information_city end |
#representative_director_information_city_kana ⇒ Object
City name in katakana.
138 139 140 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 138 def representative_director_information_city_kana @representative_director_information_city_kana end |
#representative_director_information_country ⇒ Object
Returns the value of attribute representative_director_information_country.
123 124 125 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 123 def representative_director_information_country @representative_director_information_country end |
#representative_director_information_date_of_birth ⇒ Object
Representative director’s date of birth (YYYY-MM-DD format).
118 119 120 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 118 def representative_director_information_date_of_birth @representative_director_information_date_of_birth end |
#representative_director_information_first_name ⇒ Object
Representative director’s first name.
106 107 108 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 106 def representative_director_information_first_name @representative_director_information_first_name end |
#representative_director_information_first_name_kana ⇒ Object
Representative director’s first name in katakana.
109 110 111 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 109 def representative_director_information_first_name_kana @representative_director_information_first_name_kana end |
#representative_director_information_gender ⇒ Object
Representative director’s gender.
121 122 123 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 121 def representative_director_information_gender @representative_director_information_gender end |
#representative_director_information_last_name ⇒ Object
Representative director’s last name.
112 113 114 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 112 def representative_director_information_last_name @representative_director_information_last_name end |
#representative_director_information_last_name_kana ⇒ Object
Representative director’s last name in katakana.
115 116 117 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 115 def representative_director_information_last_name_kana @representative_director_information_last_name_kana end |
#representative_director_information_phone ⇒ Object
Representative director’s phone number.
153 154 155 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 153 def representative_director_information_phone @representative_director_information_phone end |
#representative_director_information_postal_code ⇒ Object
Postal code of the representative director’s address.
126 127 128 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 126 def representative_director_information_postal_code @representative_director_information_postal_code end |
#representative_director_information_prefecture_state ⇒ Object
Prefecture or state of the representative director’s address.
129 130 131 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 129 def representative_director_information_prefecture_state @representative_director_information_prefecture_state end |
#representative_director_information_prefecture_state_kana ⇒ Object
Prefecture or state in katakana.
132 133 134 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 132 def representative_director_information_prefecture_state_kana @representative_director_information_prefecture_state_kana end |
#service_agreement_agreed_to_tos ⇒ Object
Whether the merchant has agreed to KOMOJU’s terms of service.
21 22 23 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 21 def service_agreement_agreed_to_tos @service_agreement_agreed_to_tos end |
#site_information_aup_accepted ⇒ Object
Whether the merchant has accepted the Acceptable Use Policy.
258 259 260 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 258 def site_information_aup_accepted @site_information_aup_accepted end |
#site_information_establishment_date ⇒ Object
Date the online store was established (YYYY-MM-DD format).
197 198 199 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 197 def site_information_establishment_date @site_information_establishment_date end |
#site_information_industry_type ⇒ Object
Returns the value of attribute site_information_industry_type.
260 261 262 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 260 def site_information_industry_type @site_information_industry_type end |
#site_information_sales_permit_required ⇒ Object
Whether a sales permit is required for the merchant’s business type.
255 256 257 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 255 def site_information_sales_permit_required @site_information_sales_permit_required end |
#site_information_sales_permits ⇒ Object
File IDs of uploaded sales permit documents.
263 264 265 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 263 def site_information_sales_permits @site_information_sales_permits end |
#site_information_sctl_url ⇒ Object
URL of the merchant’s Specified Commercial Transaction Law disclosure page.
252 253 254 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 252 def site_information_sctl_url @site_information_sctl_url end |
#site_information_site_annual_sales ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
232 233 234 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 232 def site_information_site_annual_sales @site_information_site_annual_sales end |
#site_information_site_annual_sales_currency ⇒ Object
Returns the value of attribute site_information_site_annual_sales_currency.
234 235 236 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 234 def site_information_site_annual_sales_currency @site_information_site_annual_sales_currency end |
#site_information_site_average_transactional_currency ⇒ Object
Returns the value of attribute site_information_site_average_transactional_currency.
239 240 241 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 239 def site_information_site_average_transactional_currency @site_information_site_average_transactional_currency end |
#site_information_site_average_transactional_value ⇒ Object
Average transaction value as a formatted string.
237 238 239 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 237 def site_information_site_average_transactional_value @site_information_site_average_transactional_value end |
#site_information_site_maximum_product_pricing_cents ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
247 248 249 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 247 def site_information_site_maximum_product_pricing_cents @site_information_site_maximum_product_pricing_cents end |
#site_information_site_maximum_product_pricing_currency ⇒ Object
Returns the value of attribute site_information_site_maximum_product_pricing_currency.
249 250 251 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 249 def site_information_site_maximum_product_pricing_currency @site_information_site_maximum_product_pricing_currency end |
#site_information_site_minimum_product_pricing_cents ⇒ Object
Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD).
242 243 244 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 242 def site_information_site_minimum_product_pricing_cents @site_information_site_minimum_product_pricing_cents end |
#site_information_site_minimum_product_pricing_currency ⇒ Object
Returns the value of attribute site_information_site_minimum_product_pricing_currency.
244 245 246 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 244 def site_information_site_minimum_product_pricing_currency @site_information_site_minimum_product_pricing_currency end |
#site_information_site_name ⇒ Object
Name of the merchant’s website or online store.
185 186 187 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 185 def site_information_site_name @site_information_site_name end |
#site_information_site_name_alphabet ⇒ Object
Site name in alphanumeric (Roman) characters.
191 192 193 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 191 def site_information_site_name_alphabet @site_information_site_name_alphabet end |
#site_information_site_name_kana ⇒ Object
Site name in katakana.
188 189 190 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 188 def site_information_site_name_kana @site_information_site_name_kana end |
#site_information_site_product_description ⇒ Object
Description of the products or services sold on the site.
229 230 231 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 229 def site_information_site_product_description @site_information_site_product_description end |
#site_information_site_url ⇒ Object
URL of the merchant’s online store.
194 195 196 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 194 def site_information_site_url @site_information_site_url end |
#site_information_store_address ⇒ Object
Street address of the store’s physical location.
217 218 219 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 217 def site_information_store_address @site_information_store_address end |
#site_information_store_address_kana ⇒ Object
Store street address in katakana.
220 221 222 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 220 def site_information_store_address_kana @site_information_store_address_kana end |
#site_information_store_building_name ⇒ Object
Building name for the store’s address.
223 224 225 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 223 def site_information_store_building_name @site_information_store_building_name end |
#site_information_store_building_name_kana ⇒ Object
Building name in katakana.
226 227 228 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 226 def site_information_store_building_name_kana @site_information_store_building_name_kana end |
#site_information_store_city ⇒ Object
City of the store’s physical location.
211 212 213 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 211 def site_information_store_city @site_information_store_city end |
#site_information_store_city_kana ⇒ Object
City name in katakana.
214 215 216 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 214 def site_information_store_city_kana @site_information_store_city_kana end |
#site_information_store_country ⇒ Object
Returns the value of attribute site_information_store_country.
199 200 201 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 199 def site_information_store_country @site_information_store_country end |
#site_information_store_postal_code ⇒ Object
Postal code of the store’s physical location.
202 203 204 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 202 def site_information_store_postal_code @site_information_store_postal_code end |
#site_information_store_prefecture_state ⇒ Object
Prefecture or state of the store’s physical location.
205 206 207 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 205 def site_information_store_prefecture_state @site_information_store_prefecture_state end |
#site_information_store_prefecture_state_kana ⇒ Object
Prefecture or state in katakana.
208 209 210 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 208 def site_information_store_prefecture_state_kana @site_information_store_prefecture_state_kana end |
Class Method Details
._deserialize(type, value) ⇒ Object
Deserializes the data based on type
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 1284 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1247 def self._deserialize(type, value) case type.to_sym when :Time Time.parse(value) rescue value when :Date Date.parse(value) rescue 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 = Komoju.const_get(type) klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
418 419 420 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 418 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
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 368 369 370 371 372 373 374 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 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 316 def self.attribute_map { :'locale' => :'locale', :'service_agreement_agreed_to_tos' => :'service_agreement.agreed_to_tos', :'company_information_company_name' => :'company_information.company_name', :'company_information_company_phone' => :'company_information.company_phone', :'company_information_company_country' => :'company_information.company_country', :'company_information_corporation_type' => :'company_information.corporation_type', :'company_information_company_postal_code' => :'company_information.company_postal_code', :'company_information_company_prefecture_state' => :'company_information.company_prefecture_state', :'company_information_company_prefecture_state_kana' => :'company_information.company_prefecture_state_kana', :'company_information_company_city' => :'company_information.company_city', :'company_information_company_city_kana' => :'company_information.company_city_kana', :'company_information_company_address' => :'company_information.company_address', :'company_information_industry_description' => :'company_information.industry_description', :'company_information_business_description' => :'company_information.business_description', :'company_information_employee_number' => :'company_information.employee_number', :'company_information_establishment_date' => :'company_information.establishment_date', :'company_information_office_name' => :'company_information.office_name', :'company_information_contact_email' => :'company_information.contact_email', :'company_information_contact_phone' => :'company_information.contact_phone', :'company_information_incorporation_certificates' => :'company_information.incorporation_certificates', :'company_information_registration_number' => :'company_information.registration_number', :'company_information_share_capital_amount' => :'company_information.share_capital_amount', :'company_information_share_capital_currency' => :'company_information.share_capital_currency', :'company_information_sole_proprietor_proofs' => :'company_information.sole_proprietor_proofs', :'company_information_company_name_kana' => :'company_information.company_name_kana', :'company_information_company_name_alphabet' => :'company_information.company_name_alphabet', :'company_information_company_url' => :'company_information.company_url', :'company_information_company_address_kana' => :'company_information.company_address_kana', :'company_information_company_address_building_name' => :'company_information.company_address_building_name', :'company_information_company_address_building_name_kana' => :'company_information.company_address_building_name_kana', :'representative_director_information_first_name' => :'representative_director_information.first_name', :'representative_director_information_first_name_kana' => :'representative_director_information.first_name_kana', :'representative_director_information_last_name' => :'representative_director_information.last_name', :'representative_director_information_last_name_kana' => :'representative_director_information.last_name_kana', :'representative_director_information_date_of_birth' => :'representative_director_information.date_of_birth', :'representative_director_information_gender' => :'representative_director_information.gender', :'representative_director_information_country' => :'representative_director_information.country', :'representative_director_information_postal_code' => :'representative_director_information.postal_code', :'representative_director_information_prefecture_state' => :'representative_director_information.prefecture_state', :'representative_director_information_prefecture_state_kana' => :'representative_director_information.prefecture_state_kana', :'representative_director_information_city' => :'representative_director_information.city', :'representative_director_information_city_kana' => :'representative_director_information.city_kana', :'representative_director_information_address' => :'representative_director_information.address', :'representative_director_information_address_kana' => :'representative_director_information.address_kana', :'representative_director_information_address_building_name' => :'representative_director_information.address_building_name', :'representative_director_information_address_building_name_kana' => :'representative_director_information.address_building_name_kana', :'representative_director_information_phone' => :'representative_director_information.phone', :'applicant_information_first_name' => :'applicant_information.first_name', :'applicant_information_first_name_kana' => :'applicant_information.first_name_kana', :'applicant_information_last_name' => :'applicant_information.last_name', :'applicant_information_last_name_kana' => :'applicant_information.last_name_kana', :'applicant_information_country' => :'applicant_information.country', :'applicant_information_gender' => :'applicant_information.gender', :'applicant_information_date_of_birth' => :'applicant_information.date_of_birth', :'applicant_information_identity_document_type' => :'applicant_information.identity_document_type', :'applicant_information_identity_front' => :'applicant_information.identity_front', :'applicant_information_identity_back' => :'applicant_information.identity_back', :'site_information_site_name' => :'site_information.site_name', :'site_information_site_name_kana' => :'site_information.site_name_kana', :'site_information_site_name_alphabet' => :'site_information.site_name_alphabet', :'site_information_site_url' => :'site_information.site_url', :'site_information_establishment_date' => :'site_information.establishment_date', :'site_information_store_country' => :'site_information.store_country', :'site_information_store_postal_code' => :'site_information.store_postal_code', :'site_information_store_prefecture_state' => :'site_information.store_prefecture_state', :'site_information_store_prefecture_state_kana' => :'site_information.store_prefecture_state_kana', :'site_information_store_city' => :'site_information.store_city', :'site_information_store_city_kana' => :'site_information.store_city_kana', :'site_information_store_address' => :'site_information.store_address', :'site_information_store_address_kana' => :'site_information.store_address_kana', :'site_information_store_building_name' => :'site_information.store_building_name', :'site_information_store_building_name_kana' => :'site_information.store_building_name_kana', :'site_information_site_product_description' => :'site_information.site_product_description', :'site_information_site_annual_sales' => :'site_information.site_annual_sales', :'site_information_site_annual_sales_currency' => :'site_information.site_annual_sales_currency', :'site_information_site_average_transactional_value' => :'site_information.site_average_transactional_value', :'site_information_site_average_transactional_currency' => :'site_information.site_average_transactional_currency', :'site_information_site_minimum_product_pricing_cents' => :'site_information.site_minimum_product_pricing_cents', :'site_information_site_minimum_product_pricing_currency' => :'site_information.site_minimum_product_pricing_currency', :'site_information_site_maximum_product_pricing_cents' => :'site_information.site_maximum_product_pricing_cents', :'site_information_site_maximum_product_pricing_currency' => :'site_information.site_maximum_product_pricing_currency', :'site_information_sctl_url' => :'site_information.sctl_url', :'site_information_sales_permit_required' => :'site_information.sales_permit_required', :'site_information_aup_accepted' => :'site_information.aup_accepted', :'site_information_industry_type' => :'site_information.industry_type', :'site_information_sales_permits' => :'site_information.sales_permits', :'bank_account_information_zengin_bank_name' => :'bank_account_information.zengin_bank_name', :'bank_account_information_zengin_bank_code' => :'bank_account_information.zengin_bank_code', :'bank_account_information_zengin_branch_name' => :'bank_account_information.zengin_branch_name', :'bank_account_information_zengin_branch_code' => :'bank_account_information.zengin_branch_code', :'bank_account_information_zengin_account_type' => :'bank_account_information.zengin_account_type', :'bank_account_information_zengin_account_number' => :'bank_account_information.zengin_account_number', :'bank_account_information_zengin_account_holder_kana' => :'bank_account_information.zengin_account_holder_kana', :'bank_account_information_transfer_type' => :'bank_account_information.transfer_type', :'bank_account_information_currency' => :'bank_account_information.currency', :'bank_account_information_default_frequency' => :'bank_account_information.default_frequency' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
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 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1217 def self.build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) transformed_hash = {} openapi_types.each_pair do |key, type| if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? transformed_hash["#{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 if attributes[attribute_map[key]].is_a?(Array) transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } end elsif !attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) end end begin new(transformed_hash) rescue ArgumentError => e obj = allocate transformed_hash.each { |k, v| obj.instance_variable_set(:"@#{k}", v) } obj end end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
525 526 527 528 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 525 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
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 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 423 def self.openapi_types { :'locale' => :'Locale', :'service_agreement_agreed_to_tos' => :'Boolean', :'company_information_company_name' => :'String', :'company_information_company_phone' => :'String', :'company_information_company_country' => :'CountryCode', :'company_information_corporation_type' => :'String', :'company_information_company_postal_code' => :'String', :'company_information_company_prefecture_state' => :'String', :'company_information_company_prefecture_state_kana' => :'String', :'company_information_company_city' => :'String', :'company_information_company_city_kana' => :'String', :'company_information_company_address' => :'String', :'company_information_industry_description' => :'String', :'company_information_business_description' => :'String', :'company_information_employee_number' => :'String', :'company_information_establishment_date' => :'String', :'company_information_office_name' => :'String', :'company_information_contact_email' => :'String', :'company_information_contact_phone' => :'String', :'company_information_incorporation_certificates' => :'Array<String>', :'company_information_registration_number' => :'String', :'company_information_share_capital_amount' => :'Integer', :'company_information_share_capital_currency' => :'Currency', :'company_information_sole_proprietor_proofs' => :'Array<String>', :'company_information_company_name_kana' => :'String', :'company_information_company_name_alphabet' => :'String', :'company_information_company_url' => :'String', :'company_information_company_address_kana' => :'String', :'company_information_company_address_building_name' => :'String', :'company_information_company_address_building_name_kana' => :'String', :'representative_director_information_first_name' => :'String', :'representative_director_information_first_name_kana' => :'String', :'representative_director_information_last_name' => :'String', :'representative_director_information_last_name_kana' => :'String', :'representative_director_information_date_of_birth' => :'String', :'representative_director_information_gender' => :'String', :'representative_director_information_country' => :'CountryCode', :'representative_director_information_postal_code' => :'String', :'representative_director_information_prefecture_state' => :'String', :'representative_director_information_prefecture_state_kana' => :'String', :'representative_director_information_city' => :'String', :'representative_director_information_city_kana' => :'String', :'representative_director_information_address' => :'String', :'representative_director_information_address_kana' => :'String', :'representative_director_information_address_building_name' => :'String', :'representative_director_information_address_building_name_kana' => :'String', :'representative_director_information_phone' => :'String', :'applicant_information_first_name' => :'String', :'applicant_information_first_name_kana' => :'String', :'applicant_information_last_name' => :'String', :'applicant_information_last_name_kana' => :'String', :'applicant_information_country' => :'CountryCode', :'applicant_information_gender' => :'String', :'applicant_information_date_of_birth' => :'String', :'applicant_information_identity_document_type' => :'String', :'applicant_information_identity_front' => :'String', :'applicant_information_identity_back' => :'String', :'site_information_site_name' => :'String', :'site_information_site_name_kana' => :'String', :'site_information_site_name_alphabet' => :'String', :'site_information_site_url' => :'String', :'site_information_establishment_date' => :'String', :'site_information_store_country' => :'CountryCode', :'site_information_store_postal_code' => :'String', :'site_information_store_prefecture_state' => :'String', :'site_information_store_prefecture_state_kana' => :'String', :'site_information_store_city' => :'String', :'site_information_store_city_kana' => :'String', :'site_information_store_address' => :'String', :'site_information_store_address_kana' => :'String', :'site_information_store_building_name' => :'String', :'site_information_store_building_name_kana' => :'String', :'site_information_site_product_description' => :'String', :'site_information_site_annual_sales' => :'Integer', :'site_information_site_annual_sales_currency' => :'Currency', :'site_information_site_average_transactional_value' => :'String', :'site_information_site_average_transactional_currency' => :'Currency', :'site_information_site_minimum_product_pricing_cents' => :'Integer', :'site_information_site_minimum_product_pricing_currency' => :'Currency', :'site_information_site_maximum_product_pricing_cents' => :'Integer', :'site_information_site_maximum_product_pricing_currency' => :'Currency', :'site_information_sctl_url' => :'String', :'site_information_sales_permit_required' => :'Boolean', :'site_information_aup_accepted' => :'Boolean', :'site_information_industry_type' => :'IndustryType', :'site_information_sales_permits' => :'Array<String>', :'bank_account_information_zengin_bank_name' => :'String', :'bank_account_information_zengin_bank_code' => :'String', :'bank_account_information_zengin_branch_name' => :'String', :'bank_account_information_zengin_branch_code' => :'String', :'bank_account_information_zengin_account_type' => :'String', :'bank_account_information_zengin_account_number' => :'String', :'bank_account_information_zengin_account_holder_kana' => :'String', :'bank_account_information_transfer_type' => :'String', :'bank_account_information_currency' => :'Currency', :'bank_account_information_default_frequency' => :'SettlementFrequency' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
1101 1102 1103 1104 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 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1101 def ==(o) return true if self.equal?(o) self.class == o.class && locale == o.locale && service_agreement_agreed_to_tos == o.service_agreement_agreed_to_tos && company_information_company_name == o.company_information_company_name && company_information_company_phone == o.company_information_company_phone && company_information_company_country == o.company_information_company_country && company_information_corporation_type == o.company_information_corporation_type && company_information_company_postal_code == o.company_information_company_postal_code && company_information_company_prefecture_state == o.company_information_company_prefecture_state && company_information_company_prefecture_state_kana == o.company_information_company_prefecture_state_kana && company_information_company_city == o.company_information_company_city && company_information_company_city_kana == o.company_information_company_city_kana && company_information_company_address == o.company_information_company_address && company_information_industry_description == o.company_information_industry_description && company_information_business_description == o.company_information_business_description && company_information_employee_number == o.company_information_employee_number && company_information_establishment_date == o.company_information_establishment_date && company_information_office_name == o.company_information_office_name && company_information_contact_email == o.company_information_contact_email && company_information_contact_phone == o.company_information_contact_phone && company_information_incorporation_certificates == o.company_information_incorporation_certificates && company_information_registration_number == o.company_information_registration_number && company_information_share_capital_amount == o.company_information_share_capital_amount && company_information_share_capital_currency == o.company_information_share_capital_currency && company_information_sole_proprietor_proofs == o.company_information_sole_proprietor_proofs && company_information_company_name_kana == o.company_information_company_name_kana && company_information_company_name_alphabet == o.company_information_company_name_alphabet && company_information_company_url == o.company_information_company_url && company_information_company_address_kana == o.company_information_company_address_kana && company_information_company_address_building_name == o.company_information_company_address_building_name && company_information_company_address_building_name_kana == o.company_information_company_address_building_name_kana && representative_director_information_first_name == o.representative_director_information_first_name && representative_director_information_first_name_kana == o.representative_director_information_first_name_kana && representative_director_information_last_name == o.representative_director_information_last_name && representative_director_information_last_name_kana == o.representative_director_information_last_name_kana && representative_director_information_date_of_birth == o.representative_director_information_date_of_birth && representative_director_information_gender == o.representative_director_information_gender && representative_director_information_country == o.representative_director_information_country && representative_director_information_postal_code == o.representative_director_information_postal_code && representative_director_information_prefecture_state == o.representative_director_information_prefecture_state && representative_director_information_prefecture_state_kana == o.representative_director_information_prefecture_state_kana && representative_director_information_city == o.representative_director_information_city && representative_director_information_city_kana == o.representative_director_information_city_kana && representative_director_information_address == o.representative_director_information_address && representative_director_information_address_kana == o.representative_director_information_address_kana && representative_director_information_address_building_name == o.representative_director_information_address_building_name && representative_director_information_address_building_name_kana == o.representative_director_information_address_building_name_kana && representative_director_information_phone == o.representative_director_information_phone && applicant_information_first_name == o.applicant_information_first_name && applicant_information_first_name_kana == o.applicant_information_first_name_kana && applicant_information_last_name == o.applicant_information_last_name && applicant_information_last_name_kana == o.applicant_information_last_name_kana && applicant_information_country == o.applicant_information_country && applicant_information_gender == o.applicant_information_gender && applicant_information_date_of_birth == o.applicant_information_date_of_birth && applicant_information_identity_document_type == o.applicant_information_identity_document_type && applicant_information_identity_front == o.applicant_information_identity_front && applicant_information_identity_back == o.applicant_information_identity_back && site_information_site_name == o.site_information_site_name && site_information_site_name_kana == o.site_information_site_name_kana && site_information_site_name_alphabet == o.site_information_site_name_alphabet && site_information_site_url == o.site_information_site_url && site_information_establishment_date == o.site_information_establishment_date && site_information_store_country == o.site_information_store_country && site_information_store_postal_code == o.site_information_store_postal_code && site_information_store_prefecture_state == o.site_information_store_prefecture_state && site_information_store_prefecture_state_kana == o.site_information_store_prefecture_state_kana && site_information_store_city == o.site_information_store_city && site_information_store_city_kana == o.site_information_store_city_kana && site_information_store_address == o.site_information_store_address && site_information_store_address_kana == o.site_information_store_address_kana && site_information_store_building_name == o.site_information_store_building_name && site_information_store_building_name_kana == o.site_information_store_building_name_kana && site_information_site_product_description == o.site_information_site_product_description && site_information_site_annual_sales == o.site_information_site_annual_sales && site_information_site_annual_sales_currency == o.site_information_site_annual_sales_currency && site_information_site_average_transactional_value == o.site_information_site_average_transactional_value && site_information_site_average_transactional_currency == o.site_information_site_average_transactional_currency && site_information_site_minimum_product_pricing_cents == o.site_information_site_minimum_product_pricing_cents && site_information_site_minimum_product_pricing_currency == o.site_information_site_minimum_product_pricing_currency && site_information_site_maximum_product_pricing_cents == o.site_information_site_maximum_product_pricing_cents && site_information_site_maximum_product_pricing_currency == o.site_information_site_maximum_product_pricing_currency && site_information_sctl_url == o.site_information_sctl_url && site_information_sales_permit_required == o.site_information_sales_permit_required && site_information_aup_accepted == o.site_information_aup_accepted && site_information_industry_type == o.site_information_industry_type && site_information_sales_permits == o.site_information_sales_permits && bank_account_information_zengin_bank_name == o.bank_account_information_zengin_bank_name && bank_account_information_zengin_bank_code == o.bank_account_information_zengin_bank_code && bank_account_information_zengin_branch_name == o.bank_account_information_zengin_branch_name && bank_account_information_zengin_branch_code == o.bank_account_information_zengin_branch_code && bank_account_information_zengin_account_type == o.bank_account_information_zengin_account_type && bank_account_information_zengin_account_number == o.bank_account_information_zengin_account_number && bank_account_information_zengin_account_holder_kana == o.bank_account_information_zengin_account_holder_kana && bank_account_information_transfer_type == o.bank_account_information_transfer_type && bank_account_information_currency == o.bank_account_information_currency && bank_account_information_default_frequency == o.bank_account_information_default_frequency end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1318 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 |
#eql?(o) ⇒ Boolean
1204 1205 1206 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1204 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1210 1211 1212 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1210 def hash [locale, service_agreement_agreed_to_tos, company_information_company_name, company_information_company_phone, company_information_company_country, company_information_corporation_type, company_information_company_postal_code, company_information_company_prefecture_state, company_information_company_prefecture_state_kana, company_information_company_city, company_information_company_city_kana, company_information_company_address, company_information_industry_description, company_information_business_description, company_information_employee_number, company_information_establishment_date, company_information_office_name, company_information_contact_email, company_information_contact_phone, company_information_incorporation_certificates, company_information_registration_number, company_information_share_capital_amount, company_information_share_capital_currency, company_information_sole_proprietor_proofs, company_information_company_name_kana, company_information_company_name_alphabet, company_information_company_url, company_information_company_address_kana, company_information_company_address_building_name, company_information_company_address_building_name_kana, representative_director_information_first_name, representative_director_information_first_name_kana, representative_director_information_last_name, representative_director_information_last_name_kana, representative_director_information_date_of_birth, representative_director_information_gender, representative_director_information_country, representative_director_information_postal_code, representative_director_information_prefecture_state, representative_director_information_prefecture_state_kana, representative_director_information_city, representative_director_information_city_kana, representative_director_information_address, representative_director_information_address_kana, representative_director_information_address_building_name, representative_director_information_address_building_name_kana, representative_director_information_phone, applicant_information_first_name, applicant_information_first_name_kana, applicant_information_last_name, applicant_information_last_name_kana, applicant_information_country, applicant_information_gender, applicant_information_date_of_birth, applicant_information_identity_document_type, applicant_information_identity_front, applicant_information_identity_back, site_information_site_name, site_information_site_name_kana, site_information_site_name_alphabet, site_information_site_url, site_information_establishment_date, site_information_store_country, site_information_store_postal_code, site_information_store_prefecture_state, site_information_store_prefecture_state_kana, site_information_store_city, site_information_store_city_kana, site_information_store_address, site_information_store_address_kana, site_information_store_building_name, site_information_store_building_name_kana, site_information_site_product_description, site_information_site_annual_sales, site_information_site_annual_sales_currency, site_information_site_average_transactional_value, site_information_site_average_transactional_currency, site_information_site_minimum_product_pricing_cents, site_information_site_minimum_product_pricing_currency, site_information_site_maximum_product_pricing_cents, site_information_site_maximum_product_pricing_currency, site_information_sctl_url, site_information_sales_permit_required, site_information_aup_accepted, site_information_industry_type, site_information_sales_permits, bank_account_information_zengin_bank_name, bank_account_information_zengin_bank_code, bank_account_information_zengin_branch_name, bank_account_information_zengin_branch_code, bank_account_information_zengin_account_type, bank_account_information_zengin_account_number, bank_account_information_zengin_account_holder_kana, bank_account_information_transfer_type, bank_account_information_currency, bank_account_information_default_frequency].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 938 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if !@company_information_share_capital_amount.nil? && @company_information_share_capital_amount < 0 invalid_properties.push('invalid value for "company_information_share_capital_amount", must be greater than or equal to 0.') end if !@site_information_site_annual_sales.nil? && @site_information_site_annual_sales < 0 invalid_properties.push('invalid value for "site_information_site_annual_sales", must be greater than or equal to 0.') end if !@site_information_site_minimum_product_pricing_cents.nil? && @site_information_site_minimum_product_pricing_cents < 0 invalid_properties.push('invalid value for "site_information_site_minimum_product_pricing_cents", must be greater than or equal to 0.') end if !@site_information_site_maximum_product_pricing_cents.nil? && @site_information_site_maximum_product_pricing_cents < 0 invalid_properties.push('invalid value for "site_information_site_maximum_product_pricing_cents", must be greater than or equal to 0.') end invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1294 1295 1296 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1294 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1300 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.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_s ⇒ String
Returns the string representation of the object
1288 1289 1290 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 1288 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 |
# File 'lib/komoju-sdk/models/live_application_request.rb', line 962 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' company_information_corporation_type_validator = EnumAttributeValidator.new('String', ["sole_proprietor", "corporation"]) return false unless company_information_corporation_type_validator.valid?(@company_information_corporation_type) return false if !@company_information_share_capital_amount.nil? && @company_information_share_capital_amount < 0 representative_director_information_gender_validator = EnumAttributeValidator.new('String', ["male", "female"]) return false unless representative_director_information_gender_validator.valid?(@representative_director_information_gender) applicant_information_gender_validator = EnumAttributeValidator.new('String', ["male", "female"]) return false unless applicant_information_gender_validator.valid?(@applicant_information_gender) applicant_information_identity_document_type_validator = EnumAttributeValidator.new('String', ["passport", "drivers_license", "id_card", "my_number_card"]) return false unless applicant_information_identity_document_type_validator.valid?(@applicant_information_identity_document_type) return false if !@site_information_site_annual_sales.nil? && @site_information_site_annual_sales < 0 return false if !@site_information_site_minimum_product_pricing_cents.nil? && @site_information_site_minimum_product_pricing_cents < 0 return false if !@site_information_site_maximum_product_pricing_cents.nil? && @site_information_site_maximum_product_pricing_cents < 0 bank_account_information_zengin_account_type_validator = EnumAttributeValidator.new('String', ["ordinary", "checking"]) return false unless bank_account_information_zengin_account_type_validator.valid?(@bank_account_information_zengin_account_type) bank_account_information_transfer_type_validator = EnumAttributeValidator.new('String', ["domestic"]) return false unless bank_account_information_transfer_type_validator.valid?(@bank_account_information_transfer_type) true end |