<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eccube\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Validator\Mapping\ClassMetadata;
/**
* Customer
*
* @ORM\Table(name="dtb_customer", uniqueConstraints={@ORM\UniqueConstraint(name="secret_key", columns={"secret_key"})}, indexes={@ORM\Index(name="dtb_customer_buy_times_idx", columns={"buy_times"}), @ORM\Index(name="dtb_customer_buy_total_idx", columns={"buy_total"}), @ORM\Index(name="dtb_customer_create_date_idx", columns={"create_date"}), @ORM\Index(name="dtb_customer_update_date_idx", columns={"update_date"}), @ORM\Index(name="dtb_customer_last_buy_date_idx", columns={"last_buy_date"}), @ORM\Index(name="dtb_customer_email_idx", columns={"email"})})
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
* @ORM\HasLifecycleCallbacks()
* @ORM\Entity(repositoryClass="Eccube\Repository\CustomerRepository")
*/
class Customer extends \Eccube\Entity\AbstractEntity implements UserInterface, \Serializable
{
use \Plugin\MailMagazine42\Entity\CustomerTrait, \Plugin\EccubePaymentLite42\Entity\CustomerTrait;
/**
* @var int
*
* @ORM\Column(name="id", type="integer", options={"unsigned":true})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name01", type="string", length=255)
*/
private $name01;
/**
* @var string
*
* @ORM\Column(name="name02", type="string", length=255)
*/
private $name02;
/**
* @var string|null
*
* @ORM\Column(name="kana01", type="string", length=255, nullable=true)
*/
private $kana01;
/**
* @var string|null
*
* @ORM\Column(name="kana02", type="string", length=255, nullable=true)
*/
private $kana02;
/**
* @var string|null
*
* @ORM\Column(name="company_name", type="string", length=255, nullable=true)
*/
private $company_name;
/**
* @var string|null
*
* @ORM\Column(name="representative_name_kana", type="string", length=255, nullable=false)
*/
private $representative_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="postal_code", type="string", length=8, nullable=true)
*/
private $postal_code;
/**
* @var string|null
*
* @ORM\Column(name="addr01", type="string", length=255, nullable=true)
*/
private $addr01;
/**
* @var string|null
*
* @ORM\Column(name="addr02", type="string", length=255, nullable=true)
*/
private $addr02;
/**
* @var string
*
* @ORM\Column(name="email", type="string", length=255)
*/
private $email;
/**
* @var string|null
*
* @ORM\Column(name="phone_number", type="string", length=14, nullable=true)
*/
private $phone_number;
/**
* @var \DateTime|null
*
* @ORM\Column(name="birth", type="datetimetz", nullable=true)
*/
private $birth;
/**
* @Assert\NotBlank()
* @Assert\Length(max=4096)
*/
private $plain_password;
/**
* @var string|null
*
* @ORM\Column(name="password", type="string", length=255)
*/
private $password;
/**
* @var string|null
*
* @ORM\Column(name="salt", type="string", length=255, nullable=true)
*/
private $salt;
/**
* @var string
*
* @ORM\Column(name="secret_key", type="string", length=255)
*/
private $secret_key;
/**
* @var \DateTime|null
*
* @ORM\Column(name="first_buy_date", type="datetimetz", nullable=true)
*/
private $first_buy_date;
/**
* @var \DateTime|null
*
* @ORM\Column(name="last_buy_date", type="datetimetz", nullable=true)
*/
private $last_buy_date;
/**
* @var string|null
*
* @ORM\Column(name="buy_times", type="decimal", precision=10, scale=0, nullable=true, options={"unsigned":true,"default":0})
*/
private $buy_times = 0;
/**
* @var string|null
*
* @ORM\Column(name="buy_total", type="decimal", precision=12, scale=2, nullable=true, options={"unsigned":true,"default":0})
*/
private $buy_total = 0;
/**
* @var string|null
*
* @ORM\Column(name="note", type="string", length=4000, nullable=true)
*/
private $note;
/**
* @var string|null
*
* @ORM\Column(name="reset_key", type="string", length=255, nullable=true)
*/
private $reset_key;
/**
* @var \DateTime|null
*
* @ORM\Column(name="reset_expire", type="datetimetz", nullable=true)
*/
private $reset_expire;
/**
* @var string
*
* @ORM\Column(name="point", type="decimal", precision=12, scale=0, options={"unsigned":false,"default":0})
*/
private $point = '0';
/**
* @var \DateTime
*
* @ORM\Column(name="create_date", type="datetimetz")
*/
private $create_date;
/**
* @var \DateTime
*
* @ORM\Column(name="update_date", type="datetimetz")
*/
private $update_date;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="Eccube\Entity\CustomerFavoriteProduct", mappedBy="Customer", cascade={"remove"})
*/
private $CustomerFavoriteProducts;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="Eccube\Entity\CustomerAddress", mappedBy="Customer", cascade={"remove"})
* @ORM\OrderBy({
* "id"="ASC"
* })
*/
private $CustomerAddresses;
/**
* @var \Doctrine\Common\Collections\Collection
*
* @ORM\OneToMany(targetEntity="Eccube\Entity\Order", mappedBy="Customer")
*/
private $Orders;
/**
* @var \Eccube\Entity\Master\CustomerStatus
*
* @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\CustomerStatus")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="customer_status_id", referencedColumnName="id")
* })
*/
private $Status;
/**
* @var \Eccube\Entity\Master\Sex
*
* @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Sex")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="sex_id", referencedColumnName="id")
* })
*/
private $Sex;
/**
* @var \Eccube\Entity\Master\Job
*
* @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Job")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="job_id", referencedColumnName="id")
* })
*/
private $Job;
/**
* @var \Eccube\Entity\Master\Country
*
* @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Country")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="country_id", referencedColumnName="id")
* })
*/
private $Country;
/**
* @var \Eccube\Entity\Master\Pref
*
* @ORM\ManyToOne(targetEntity="Eccube\Entity\Master\Pref")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="pref_id", referencedColumnName="id")
* })
*/
private $Pref;
// 追加されたカラム
/**
* @var string|null
*
* @ORM\Column(name="member_rank", type="string", length=255, nullable=true, options={"default" : "ランクなし"})
*/
private $member_rank;
/**
* @var string|null
*
* @ORM\Column(name="amount_category", type="string", length=255, nullable=true, options={"default" : "指定なし"})
*/
private $amount_category;
/**
* @var string|null
*
* @ORM\Column(name="holiday", type="string", length=255, nullable=true)
*/
private $holiday;
/**
* @var string|null
*
* @ORM\Column(name="main_contact_name", type="string", length=255, nullable=false)
*/
private $main_contact_name;
/**
* @var string|null
*
* @ORM\Column(name="main_contact_kana", type="string", length=255, nullable=false)
*/
private $main_contact_kana;
/**
* @var string|null
*
* @ORM\Column(name="main_contact_email", type="string", length=255, nullable=false)
*/
private $main_contact_email;
/**
* @var string|null
*
* @ORM\Column(name="main_contact_phone", type="string", length=14, nullable=false)
*/
private $main_contact_phone;
/**
* @var string|null
*
* @ORM\Column(name="fax", type="string", length=15, nullable=true)
*/
private $fax;
/**
* @var string|null
*
* @ORM\Column(name="join_year", type="string", length=4, nullable=true)
*/
private $join_year;
/**
* @var string|null
*
* @ORM\Column(name="join_month", type="string", length=2, nullable=true)
*/
private $join_month;
/**
* @var string|null
*
* @ORM\Column(name="mail_magazine_type", type="string", length=255, nullable=true, options={"default" : "希望しない"})
*/
private $mail_magazine_type;
/**
* @var string|null
*
* @ORM\Column(name="contact1_last_name", type="string", length=255, nullable=true)
*/
private $contact1_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact1_first_name", type="string", length=255, nullable=true)
*/
private $contact1_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact1_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact1_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact1_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact1_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact1_email", type="string", length=255, nullable=true)
*/
private $contact1_email;
/**
* @var string|null
*
* @ORM\Column(name="contact1_phone", type="string", length=14, nullable=true)
*/
private $contact1_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact2_last_name", type="string", length=255, nullable=true)
*/
private $contact2_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact2_first_name", type="string", length=255, nullable=true)
*/
private $contact2_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact2_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact2_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact2_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact2_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact2_email", type="string", length=255, nullable=true)
*/
private $contact2_email;
/**
* @var string|null
*
* @ORM\Column(name="contact2_phone", type="string", length=14, nullable=true)
*/
private $contact2_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact3_last_name", type="string", length=255, nullable=true)
*/
private $contact3_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact3_first_name", type="string", length=255, nullable=true)
*/
private $contact3_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact3_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact3_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact3_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact3_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact3_email", type="string", length=255, nullable=true)
*/
private $contact3_email;
/**
* @var string|null
*
* @ORM\Column(name="contact3_phone", type="string", length=14, nullable=true)
*/
private $contact3_phone;
// contact4〜contact10 も同様に追加する
/**
* @var string|null
*
* @ORM\Column(name="contact4_last_name", type="string", length=255, nullable=true)
*/
private $contact4_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact4_first_name", type="string", length=255, nullable=true)
*/
private $contact4_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact4_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact4_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact4_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact4_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact4_email", type="string", length=255, nullable=true)
*/
private $contact4_email;
/**
* @var string|null
*
* @ORM\Column(name="contact4_phone", type="string", length=14, nullable=true)
*/
private $contact4_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact5_last_name", type="string", length=255, nullable=true)
*/
private $contact5_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact5_first_name", type="string", length=255, nullable=true)
*/
private $contact5_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact5_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact5_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact5_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact5_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact5_email", type="string", length=255, nullable=true)
*/
private $contact5_email;
/**
* @var string|null
*
* @ORM\Column(name="contact5_phone", type="string", length=14, nullable=true)
*/
private $contact5_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact6_last_name", type="string", length=255, nullable=true)
*/
private $contact6_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact6_first_name", type="string", length=255, nullable=true)
*/
private $contact6_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact6_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact6_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact6_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact6_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact6_email", type="string", length=255, nullable=true)
*/
private $contact6_email;
/**
* @var string|null
*
* @ORM\Column(name="contact6_phone", type="string", length=14, nullable=true)
*/
private $contact6_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact7_last_name", type="string", length=255, nullable=true)
*/
private $contact7_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact7_first_name", type="string", length=255, nullable=true)
*/
private $contact7_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact7_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact7_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact7_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact7_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact7_email", type="string", length=255, nullable=true)
*/
private $contact7_email;
/**
* @var string|null
*
* @ORM\Column(name="contact7_phone", type="string", length=14, nullable=true)
*/
private $contact7_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact8_last_name", type="string", length=255, nullable=true)
*/
private $contact8_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact8_first_name", type="string", length=255, nullable=true)
*/
private $contact8_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact8_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact8_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact8_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact8_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact8_email", type="string", length=255, nullable=true)
*/
private $contact8_email;
/**
* @var string|null
*
* @ORM\Column(name="contact8_phone", type="string", length=14, nullable=true)
*/
private $contact8_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact9_last_name", type="string", length=255, nullable=true)
*/
private $contact9_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact9_first_name", type="string", length=255, nullable=true)
*/
private $contact9_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact9_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact9_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact9_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact9_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact9_email", type="string", length=255, nullable=true)
*/
private $contact9_email;
/**
* @var string|null
*
* @ORM\Column(name="contact9_phone", type="string", length=14, nullable=true)
*/
private $contact9_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact10_last_name", type="string", length=255, nullable=true)
*/
private $contact10_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact10_first_name", type="string", length=255, nullable=true)
*/
private $contact10_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact10_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact10_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact10_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact10_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact10_email", type="string", length=255, nullable=true)
*/
private $contact10_email;
/**
* @var string|null
*
* @ORM\Column(name="contact10_phone", type="string", length=14, nullable=true)
*/
private $contact10_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact11_last_name", type="string", length=255, nullable=true)
*/
private $contact11_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact11_first_name", type="string", length=255, nullable=true)
*/
private $contact11_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact11_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact11_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact11_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact11_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact11_email", type="string", length=255, nullable=true)
*/
private $contact11_email;
/**
* @var string|null
*
* @ORM\Column(name="contact11_phone", type="string", length=14, nullable=true)
*/
private $contact11_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact12_last_name", type="string", length=255, nullable=true)
*/
private $contact12_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact12_first_name", type="string", length=255, nullable=true)
*/
private $contact12_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact12_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact12_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact12_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact12_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact12_email", type="string", length=255, nullable=true)
*/
private $contact12_email;
/**
* @var string|null
*
* @ORM\Column(name="contact12_phone", type="string", length=14, nullable=true)
*/
private $contact12_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact13_last_name", type="string", length=255, nullable=true)
*/
private $contact13_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact13_first_name", type="string", length=255, nullable=true)
*/
private $contact13_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact13_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact13_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact13_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact13_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact13_email", type="string", length=255, nullable=true)
*/
private $contact13_email;
/**
* @var string|null
*
* @ORM\Column(name="contact13_phone", type="string", length=14, nullable=true)
*/
private $contact13_phone;
// contact4〜contact10 も同様に追加する
/**
* @var string|null
*
* @ORM\Column(name="contact14_last_name", type="string", length=255, nullable=true)
*/
private $contact14_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact14_first_name", type="string", length=255, nullable=true)
*/
private $contact14_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact14_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact14_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact14_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact14_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact14_email", type="string", length=255, nullable=true)
*/
private $contact14_email;
/**
* @var string|null
*
* @ORM\Column(name="contact14_phone", type="string", length=14, nullable=true)
*/
private $contact14_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact15_last_name", type="string", length=255, nullable=true)
*/
private $contact15_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact15_first_name", type="string", length=255, nullable=true)
*/
private $contact15_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact15_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact15_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact15_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact15_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact15_email", type="string", length=255, nullable=true)
*/
private $contact15_email;
/**
* @var string|null
*
* @ORM\Column(name="contact15_phone", type="string", length=14, nullable=true)
*/
private $contact15_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact16_last_name", type="string", length=255, nullable=true)
*/
private $contact16_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact16_first_name", type="string", length=255, nullable=true)
*/
private $contact16_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact16_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact16_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact16_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact16_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact16_email", type="string", length=255, nullable=true)
*/
private $contact16_email;
/**
* @var string|null
*
* @ORM\Column(name="contact16_phone", type="string", length=14, nullable=true)
*/
private $contact16_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact17_last_name", type="string", length=255, nullable=true)
*/
private $contact17_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact17_first_name", type="string", length=255, nullable=true)
*/
private $contact17_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact17_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact17_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact17_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact17_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact17_email", type="string", length=255, nullable=true)
*/
private $contact17_email;
/**
* @var string|null
*
* @ORM\Column(name="contact17_phone", type="string", length=14, nullable=true)
*/
private $contact17_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact18_last_name", type="string", length=255, nullable=true)
*/
private $contact18_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact18_first_name", type="string", length=255, nullable=true)
*/
private $contact18_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact18_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact18_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact18_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact18_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact18_email", type="string", length=255, nullable=true)
*/
private $contact18_email;
/**
* @var string|null
*
* @ORM\Column(name="contact18_phone", type="string", length=14, nullable=true)
*/
private $contact18_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact19_last_name", type="string", length=255, nullable=true)
*/
private $contact19_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact19_first_name", type="string", length=255, nullable=true)
*/
private $contact19_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact19_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact19_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact19_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact19_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact19_email", type="string", length=255, nullable=true)
*/
private $contact19_email;
/**
* @var string|null
*
* @ORM\Column(name="contact19_phone", type="string", length=14, nullable=true)
*/
private $contact19_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact20_last_name", type="string", length=255, nullable=true)
*/
private $contact20_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact20_first_name", type="string", length=255, nullable=true)
*/
private $contact20_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact20_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact20_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact20_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact20_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact20_email", type="string", length=255, nullable=true)
*/
private $contact20_email;
/**
* @var string|null
*
* @ORM\Column(name="contact20_phone", type="string", length=14, nullable=true)
*/
private $contact20_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact21_last_name", type="string", length=255, nullable=true)
*/
private $contact21_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact21_first_name", type="string", length=255, nullable=true)
*/
private $contact21_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact21_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact21_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact21_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact21_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact21_email", type="string", length=255, nullable=true)
*/
private $contact21_email;
/**
* @var string|null
*
* @ORM\Column(name="contact21_phone", type="string", length=14, nullable=true)
*/
private $contact21_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact22_last_name", type="string", length=255, nullable=true)
*/
private $contact22_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact22_first_name", type="string", length=255, nullable=true)
*/
private $contact22_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact22_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact22_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact22_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact22_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact22_email", type="string", length=255, nullable=true)
*/
private $contact22_email;
/**
* @var string|null
*
* @ORM\Column(name="contact22_phone", type="string", length=14, nullable=true)
*/
private $contact22_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact23_last_name", type="string", length=255, nullable=true)
*/
private $contact23_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact23_first_name", type="string", length=255, nullable=true)
*/
private $contact23_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact23_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact23_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact23_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact23_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact23_email", type="string", length=255, nullable=true)
*/
private $contact23_email;
/**
* @var string|null
*
* @ORM\Column(name="contact23_phone", type="string", length=14, nullable=true)
*/
private $contact23_phone;
// contact4〜contact10 も同様に追加する
/**
* @var string|null
*
* @ORM\Column(name="contact24_last_name", type="string", length=255, nullable=true)
*/
private $contact24_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact24_first_name", type="string", length=255, nullable=true)
*/
private $contact24_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact24_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact24_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact24_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact24_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact24_email", type="string", length=255, nullable=true)
*/
private $contact24_email;
/**
* @var string|null
*
* @ORM\Column(name="contact24_phone", type="string", length=14, nullable=true)
*/
private $contact24_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact25_last_name", type="string", length=255, nullable=true)
*/
private $contact25_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact25_first_name", type="string", length=255, nullable=true)
*/
private $contact25_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact25_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact25_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact25_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact25_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact25_email", type="string", length=255, nullable=true)
*/
private $contact25_email;
/**
* @var string|null
*
* @ORM\Column(name="contact25_phone", type="string", length=14, nullable=true)
*/
private $contact25_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact26_last_name", type="string", length=255, nullable=true)
*/
private $contact26_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact26_first_name", type="string", length=255, nullable=true)
*/
private $contact26_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact26_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact26_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact26_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact26_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact26_email", type="string", length=255, nullable=true)
*/
private $contact26_email;
/**
* @var string|null
*
* @ORM\Column(name="contact26_phone", type="string", length=14, nullable=true)
*/
private $contact26_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact27_last_name", type="string", length=255, nullable=true)
*/
private $contact27_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact27_first_name", type="string", length=255, nullable=true)
*/
private $contact27_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact27_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact27_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact27_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact27_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact27_email", type="string", length=255, nullable=true)
*/
private $contact27_email;
/**
* @var string|null
*
* @ORM\Column(name="contact27_phone", type="string", length=14, nullable=true)
*/
private $contact27_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact28_last_name", type="string", length=255, nullable=true)
*/
private $contact28_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact28_first_name", type="string", length=255, nullable=true)
*/
private $contact28_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact28_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact28_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact28_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact28_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact28_email", type="string", length=255, nullable=true)
*/
private $contact28_email;
/**
* @var string|null
*
* @ORM\Column(name="contact28_phone", type="string", length=14, nullable=true)
*/
private $contact28_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact29_last_name", type="string", length=255, nullable=true)
*/
private $contact29_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact29_first_name", type="string", length=255, nullable=true)
*/
private $contact29_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact29_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact29_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact29_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact29_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact29_email", type="string", length=255, nullable=true)
*/
private $contact29_email;
/**
* @var string|null
*
* @ORM\Column(name="contact29_phone", type="string", length=14, nullable=true)
*/
private $contact29_phone;
/**
* @var string|null
*
* @ORM\Column(name="contact30_last_name", type="string", length=255, nullable=true)
*/
private $contact30_last_name;
/**
* @var string|null
*
* @ORM\Column(name="contact30_first_name", type="string", length=255, nullable=true)
*/
private $contact30_first_name;
/**
* @var string|null
*
* @ORM\Column(name="contact30_last_name_kana", type="string", length=255, nullable=true)
*/
private $contact30_last_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact30_first_name_kana", type="string", length=255, nullable=true)
*/
private $contact30_first_name_kana;
/**
* @var string|null
*
* @ORM\Column(name="contact30_email", type="string", length=255, nullable=true)
*/
private $contact30_email;
/**
* @var string|null
*
* @ORM\Column(name="contact30_phone", type="string", length=14, nullable=true)
*/
private $contact30_phone;
/**
* @var int|null
*
* @ORM\Column(name="amount_credit", type="integer", nullable=true)
*/
private $amount_credit;
/**
* Constructor
*/
public function __construct()
{
$this->CustomerFavoriteProducts = new \Doctrine\Common\Collections\ArrayCollection();
$this->CustomerAddresses = new \Doctrine\Common\Collections\ArrayCollection();
$this->Orders = new \Doctrine\Common\Collections\ArrayCollection();
$this->setBuyTimes(0);
$this->setBuyTotal(0);
}
/**
* @return string
*/
public function __toString()
{
return (string) ($this->getName01().' '.$this->getName02());
}
/**
* {@inheritdoc}
*/
public function getRoles()
{
return ['ROLE_USER'];
}
/**
* {@inheritdoc}
*/
public function getUsername()
{
return $this->email;
}
/**
* {@inheritdoc}
*/
public function eraseCredentials()
{
}
// TODO: できればFormTypeで行いたい
public static function loadValidatorMetadata(ClassMetadata $metadata)
{
$metadata->addConstraint(new UniqueEntity([
'fields' => 'email',
'message' => 'form_error.customer_already_exists',
'repositoryMethod' => 'getNonWithdrawingCustomers',
]));
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set name01.
*
* @param string $name01
*
* @return Customer
*/
public function setName01($name01)
{
$this->name01 = $name01;
return $this;
}
/**
* Get name01.
*
* @return string
*/
public function getName01()
{
return $this->name01;
}
/**
* Set name02.
*
* @param string $name02
*
* @return Customer
*/
public function setName02($name02)
{
$this->name02 = $name02;
return $this;
}
/**
* Get name02.
*
* @return string
*/
public function getName02()
{
return $this->name02;
}
public function getContactName()
{
return $this->name02;
}
/**
* Set kana01.
*
* @param string|null $kana01
*
* @return Customer
*/
public function setKana01($kana01 = null)
{
$this->kana01 = $kana01;
return $this;
}
/**
* Get kana01.
*
* @return string|null
*/
public function getKana01()
{
return $this->kana01;
}
public function getContactNameKana()
{
return $this->kana02;
}
/**
* Set kana02.
*
* @param string|null $kana02
*
* @return Customer
*/
public function setKana02($kana02 = null)
{
$this->kana02 = $kana02;
return $this;
}
/**
* Get kana02.
*
* @return string|null
*/
public function getKana02()
{
return $this->kana02;
}
/**
* Set companyName.
*
* @param string|null $companyName
*
* @return Customer
*/
public function setCompanyName($companyName = null)
{
$this->company_name = $companyName;
return $this;
}
/**
* Get companyName.
*
* @return string|null
*/
public function getCompanyName()
{
return $this->company_name;
}
/**
* Set representativeNameKana
*
* @param string|null $representativeNameKana
*
* @return Customer
*/
public function setRepresentativeNameKana($representativeNameKana = null)
{
$this->representative_name_kana = $representativeNameKana;
return $this;
}
/**
* Get representativeNameKana
*
* @return string|null
*/
public function getRepresentativeNameKana()
{
return $this->representative_name_kana;
}
/**
* Set postal_code.
*
* @param string|null $postal_code
*
* @return Customer
*/
public function setPostalCode($postal_code = null)
{
$this->postal_code = $postal_code;
return $this;
}
/**
* Get postal_code.
*
* @return string|null
*/
public function getPostalCode()
{
return $this->postal_code;
}
/**
* Set addr01.
*
* @param string|null $addr01
*
* @return Customer
*/
public function setAddr01($addr01 = null)
{
$this->addr01 = $addr01;
return $this;
}
/**
* Get addr01.
*
* @return string|null
*/
public function getAddr01()
{
return $this->addr01;
}
/**
* Set addr02.
*
* @param string|null $addr02
*
* @return Customer
*/
public function setAddr02($addr02 = null)
{
$this->addr02 = $addr02;
return $this;
}
/**
* Get addr02.
*
* @return string|null
*/
public function getAddr02()
{
return $this->addr02;
}
/**
* Set email.
*
* @param string $email
*
* @return Customer
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email.
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
function getContactEmail()
{
return $this->email;
}
/**
* Set phone_number.
*
* @param string|null $phone_number
*
* @return Customer
*/
public function setPhoneNumber($phone_number = null)
{
$this->phone_number = $phone_number;
return $this;
}
/**
* Get phone_number.
*
* @return string|null
*/
public function getPhoneNumber()
{
return $this->phone_number;
}
function getContactMobile()
{
return $this->phone_number;
}
/**
* Set birth.
*
* @param \DateTime|null $birth
*
* @return Customer
*/
public function setBirth($birth = null)
{
$this->birth = $birth;
return $this;
}
/**
* Get birth.
*
* @return \DateTime|null
*/
public function getBirth()
{
return $this->birth;
}
/**
* @param string|null $password
*
* @return $this
*/
public function setPlainPassword(?string $password): self
{
$this->plain_password = $password;
return $this;
}
/**
* @return string|null
*/
public function getPlainPassword(): ?string
{
return $this->plain_password;
}
/**
* Set password.
*
* @param string|null $password
*
* @return Customer
*/
public function setPassword($password = null)
{
$this->password = $password;
return $this;
}
/**
* Get password.
*
* @return string|null
*/
public function getPassword()
{
return $this->password;
}
/**
* Set salt.
*
* @param string|null $salt
*
* @return Customer
*/
public function setSalt($salt = null)
{
$this->salt = $salt;
return $this;
}
/**
* Get salt.
*
* @return string|null
*/
public function getSalt()
{
return $this->salt;
}
/**
* Set secretKey.
*
* @param string $secretKey
*
* @return Customer
*/
public function setSecretKey($secretKey)
{
$this->secret_key = $secretKey;
return $this;
}
/**
* Get secretKey.
*
* @return string
*/
public function getSecretKey()
{
return $this->secret_key;
}
/**
* Set firstBuyDate.
*
* @param \DateTime|null $firstBuyDate
*
* @return Customer
*/
public function setFirstBuyDate($firstBuyDate = null)
{
$this->first_buy_date = $firstBuyDate;
return $this;
}
/**
* Get firstBuyDate.
*
* @return \DateTime|null
*/
public function getFirstBuyDate()
{
return $this->first_buy_date;
}
/**
* Set lastBuyDate.
*
* @param \DateTime|null $lastBuyDate
*
* @return Customer
*/
public function setLastBuyDate($lastBuyDate = null)
{
$this->last_buy_date = $lastBuyDate;
return $this;
}
/**
* Get lastBuyDate.
*
* @return \DateTime|null
*/
public function getLastBuyDate()
{
return $this->last_buy_date;
}
/**
* Set buyTimes.
*
* @param string|null $buyTimes
*
* @return Customer
*/
public function setBuyTimes($buyTimes = null)
{
$this->buy_times = $buyTimes;
return $this;
}
/**
* Get buyTimes.
*
* @return string|null
*/
public function getBuyTimes()
{
return $this->buy_times;
}
/**
* Set buyTotal.
*
* @param string|null $buyTotal
*
* @return Customer
*/
public function setBuyTotal($buyTotal = null)
{
$this->buy_total = $buyTotal;
return $this;
}
/**
* Get buyTotal.
*
* @return string|null
*/
public function getBuyTotal()
{
return $this->buy_total;
}
/**
* Set note.
*
* @param string|null $note
*
* @return Customer
*/
public function setNote($note = null)
{
$this->note = $note;
return $this;
}
/**
* Get note.
*
* @return string|null
*/
public function getNote()
{
return $this->note;
}
/**
* Set resetKey.
*
* @param string|null $resetKey
*
* @return Customer
*/
public function setResetKey($resetKey = null)
{
$this->reset_key = $resetKey;
return $this;
}
/**
* Get resetKey.
*
* @return string|null
*/
public function getResetKey()
{
return $this->reset_key;
}
/**
* Set resetExpire.
*
* @param \DateTime|null $resetExpire
*
* @return Customer
*/
public function setResetExpire($resetExpire = null)
{
$this->reset_expire = $resetExpire;
return $this;
}
/**
* Get resetExpire.
*
* @return \DateTime|null
*/
public function getResetExpire()
{
return $this->reset_expire;
}
/**
* Set createDate.
*
* @param \DateTime $createDate
*
* @return Customer
*/
public function setCreateDate($createDate)
{
$this->create_date = $createDate;
return $this;
}
/**
* Get createDate.
*
* @return \DateTime
*/
public function getCreateDate()
{
return $this->create_date;
}
/**
* Set updateDate.
*
* @param \DateTime $updateDate
*
* @return Customer
*/
public function setUpdateDate($updateDate)
{
$this->update_date = $updateDate;
return $this;
}
/**
* Get updateDate.
*
* @return \DateTime
*/
public function getUpdateDate()
{
return $this->update_date;
}
/**
* Add customerFavoriteProduct.
*
* @param \Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProduct
*
* @return Customer
*/
public function addCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProduct)
{
$this->CustomerFavoriteProducts[] = $customerFavoriteProduct;
return $this;
}
/**
* Remove customerFavoriteProduct.
*
* @param \Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProduct
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProduct)
{
return $this->CustomerFavoriteProducts->removeElement($customerFavoriteProduct);
}
/**
* Get customerFavoriteProducts.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getCustomerFavoriteProducts()
{
return $this->CustomerFavoriteProducts;
}
/**
* Add customerAddress.
*
* @param \Eccube\Entity\CustomerAddress $customerAddress
*
* @return Customer
*/
public function addCustomerAddress(CustomerAddress $customerAddress)
{
$this->CustomerAddresses[] = $customerAddress;
return $this;
}
/**
* Remove customerAddress.
*
* @param \Eccube\Entity\CustomerAddress $customerAddress
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeCustomerAddress(CustomerAddress $customerAddress)
{
return $this->CustomerAddresses->removeElement($customerAddress);
}
/**
* Get customerAddresses.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getCustomerAddresses()
{
return $this->CustomerAddresses;
}
/**
* Add order.
*
* @param \Eccube\Entity\Order $order
*
* @return Customer
*/
public function addOrder(Order $order)
{
$this->Orders[] = $order;
return $this;
}
/**
* Remove order.
*
* @param \Eccube\Entity\Order $order
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeOrder(Order $order)
{
return $this->Orders->removeElement($order);
}
/**
* Get orders.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getOrders()
{
return $this->Orders;
}
/**
* Set status.
*
* @param \Eccube\Entity\Master\CustomerStatus|null $status
*
* @return Customer
*/
public function setStatus(Master\CustomerStatus $status = null)
{
$this->Status = $status;
return $this;
}
/**
* Get status.
*
* @return \Eccube\Entity\Master\CustomerStatus|null
*/
public function getStatus()
{
return $this->Status;
}
/**
* Set sex.
*
* @param \Eccube\Entity\Master\Sex|null $sex
*
* @return Customer
*/
public function setSex(Master\Sex $sex = null)
{
$this->Sex = $sex;
return $this;
}
/**
* Get sex.
*
* @return \Eccube\Entity\Master\Sex|null
*/
public function getSex()
{
return $this->Sex;
}
/**
* Set job.
*
* @param \Eccube\Entity\Master\Job|null $job
*
* @return Customer
*/
public function setJob(Master\Job $job = null)
{
$this->Job = $job;
return $this;
}
/**
* Get job.
*
* @return \Eccube\Entity\Master\Job|null
*/
public function getJob()
{
return $this->Job;
}
/**
* Set country.
*
* @param \Eccube\Entity\Master\Country|null $country
*
* @return Customer
*/
public function setCountry(Master\Country $country = null)
{
$this->Country = $country;
return $this;
}
/**
* Get country.
*
* @return \Eccube\Entity\Master\Country|null
*/
public function getCountry()
{
return $this->Country;
}
/**
* Set pref.
*
* @param \Eccube\Entity\Master\Pref|null $pref
*
* @return Customer
*/
public function setPref(Master\Pref $pref = null)
{
$this->Pref = $pref;
return $this;
}
/**
* Get pref.
*
* @return \Eccube\Entity\Master\Pref|null
*/
public function getPref()
{
return $this->Pref;
}
/**
* Set point
*
* @param string $point
*
* @return Customer
*/
public function setPoint($point)
{
$this->point = $point;
return $this;
}
/**
* Get point
*
* @return string
*/
public function getPoint()
{
return $this->point;
}
/**
* Set memberRank
*
* @param string|null $memberRank
*
* @return Customer
*/
public function setMemberRank($memberRank = null)
{
$this->member_rank = $memberRank;
return $this;
}
/**
* Get memberRank
*
* @return string|null
*/
public function getMemberRank()
{
return $this->member_rank;
}
/**
* Set amountCategory
*
* @param string|null $amountCategory
*
* @return Customer
*/
public function setAmountCategory($amountCategory = null)
{
$this->amount_category = $amountCategory;
return $this;
}
/**
* Get amountCategory
*
* @return string|null
*/
public function getAmountCategory()
{
return $this->amount_category;
}
/**
* Set holiday
*
* @param string|null $holiday
*
* @return Customer
*/
public function setHoliday($holiday = null)
{
$this->holiday = $holiday;
return $this;
}
/**
* Get holiday
*
* @return string|null
*/
public function getHoliday()
{
return $this->holiday;
}
/**
* Set mainContactName
*
* @param string|null $mainContactName
*
* @return Customer
*/
public function setMainContactName($mainContactName = null)
{
$this->main_contact_name = $mainContactName;
return $this;
}
/**
* Get mainContactName
*
* @return string|null
*/
public function getMainContactName()
{
return $this->main_contact_name;
}
/**
* Set mainContactKana
*
* @param string|null $mainContactKana
*
* @return Customer
*/
public function setMainContactKana($mainContactKana = null)
{
$this->main_contact_kana = $mainContactKana;
return $this;
}
/**
* Get mainContactKana
*
* @return string|null
*/
public function getMainContactKana()
{
return $this->main_contact_kana;
}
/**
* Set mainContactEmail
*
* @param string|null $mainContactEmail
*
* @return Customer
*/
public function setMainContactEmail($mainContactEmail = null)
{
$this->main_contact_email = $mainContactEmail;
return $this;
}
/**
* Get mainContactEmail
*
* @return string|null
*/
public function getMainContactEmail()
{
return $this->main_contact_email;
}
/**
* Set mainContactPhone
*
* @param string|null $mainContactPhone
*
* @return Customer
*/
public function setMainContactPhone($mainContactPhone = null)
{
$this->main_contact_phone = $mainContactPhone;
return $this;
}
/**
* Get mainContactPhone
*
* @return string|null
*/
public function getMainContactPhone()
{
return $this->main_contact_phone;
}
/**
* Set fax
*
* @param string|null $fax
*
* @return Customer
*/
public function setFax($fax = null)
{
$this->fax = $fax;
return $this;
}
/**
* Get fax
*
* @return string|null
*/
public function getFax()
{
return $this->fax;
}
/**
* Set joinYear
*
* @param string|null $joinYear
*
* @return Customer
*/
public function setJoinYear($joinYear = null)
{
$this->join_year = $joinYear;
return $this;
}
/**
* Get joinYear
*
* @return string|null
*/
public function getJoinYear()
{
return $this->join_year;
}
/**
* Set joinMonth
*
* @param string|null $joinMonth
*
* @return Customer
*/
public function setJoinMonth($joinMonth = null)
{
$this->join_month = $joinMonth;
return $this;
}
/**
* Get joinMonth
*
* @return string|null
*/
public function getJoinMonth()
{
return $this->join_month;
}
/**
* Get join date in y/m format.
*
* @return string|null
*/
public function getJoinDateYm()
{
if (!empty($this->join_year) && !empty($this->join_month)) {
return $this->join_year . '/' . $this->join_month;
}
return null;
}
/**
* Set mailMagazineType
*
* @param string|null $mailMagazineType
*
* @return Customer
*/
public function setMailMagazineType($mailMagazineType = null)
{
$this->mail_magazine_type = $mailMagazineType;
return $this;
}
/**
* Get mailMagazineType
*
* @return string|null
*/
public function getMailMagazineType()
{
return $this->mail_magazine_type;
}
/**
* Set contact1LastName
*
* @param string|null $contact1LastName
*
* @return Customer
*/
public function setContact1LastName($contact1LastName = null)
{
$this->contact1_last_name = $contact1LastName;
return $this;
}
/**
* Get contact1LastName
*
* @return string|null
*/
public function getContact1LastName()
{
return $this->contact1_last_name;
}
/**
* Set contact1FirstName
*
* @param string|null $contact1FirstName
*
* @return Customer
*/
public function setContact1FirstName($contact1FirstName = null)
{
$this->contact1_first_name = $contact1FirstName;
return $this;
}
/**
* Get contact1FirstName
*
* @return string|null
*/
public function getContact1FirstName()
{
return $this->contact1_first_name;
}
/**
* Set contact1LastNameKana
*
* @param string|null $contact1LastNameKana
*
* @return Customer
*/
public function setContact1LastNameKana($contact1LastNameKana = null)
{
$this->contact1_last_name_kana = $contact1LastNameKana;
return $this;
}
/**
* Get contact1LastNameKana
*
* @return string|null
*/
public function getContact1LastNameKana()
{
return $this->contact1_last_name_kana;
}
/**
* Set contact1FirstNameKana
*
* @param string|null $contact1FirstNameKana
*
* @return Customer
*/
public function setContact1FirstNameKana($contact1FirstNameKana = null)
{
$this->contact1_first_name_kana = $contact1FirstNameKana;
return $this;
}
/**
* Get contact1FirstNameKana
*
* @return string|null
*/
public function getContact1FirstNameKana()
{
return $this->contact1_first_name_kana;
}
/**
* Set contact1Email
*
* @param string|null $contact1Email
*
* @return Customer
*/
public function setContact1Email($contact1Email = null)
{
$this->contact1_email = $contact1Email;
return $this;
}
/**
* Get contact1Email
*
* @return string|null
*/
public function getContact1Email()
{
return $this->contact1_email;
}
/**
* Set contact1Phone
*
* @param string|null $contact1Phone
*
* @return Customer
*/
public function setContact1Phone($contact1Phone = null)
{
$this->contact1_phone = $contact1Phone;
return $this;
}
/**
* Get contact1Phone
*
* @return string|null
*/
public function getContact1Phone()
{
return $this->contact1_phone;
}
// contact2〜contact10 も同様に setter と getter を追加
/**
* Set contact2LastName
*
* @param string|null $contact2LastName
*
* @return Customer
*/
public function setContact2LastName($contact2LastName = null)
{
$this->contact2_last_name = $contact2LastName;
return $this;
}
/**
* Get contact2LastName
*
* @return string|null
*/
public function getContact2LastName()
{
return $this->contact2_last_name;
}
/**
* Set contact2FirstName
*
* @param string|null $contact2FirstName
*
* @return Customer
*/
public function setContact2FirstName($contact2FirstName = null)
{
$this->contact2_first_name = $contact2FirstName;
return $this;
}
/**
* Get contact2FirstName
*
* @return string|null
*/
public function getContact2FirstName()
{
return $this->contact2_first_name;
}
/**
* Set contact2LastNameKana
*
* @param string|null $contact2LastNameKana
*
* @return Customer
*/
public function setContact2LastNameKana($contact2LastNameKana = null)
{
$this->contact2_last_name_kana = $contact2LastNameKana;
return $this;
}
/**
* Get contact2LastNameKana
*
* @return string|null
*/
public function getContact2LastNameKana()
{
return $this->contact2_last_name_kana;
}
/**
* Set contact2FirstNameKana
*
* @param string|null $contact2FirstNameKana
*
* @return Customer
*/
public function setContact2FirstNameKana($contact2FirstNameKana = null)
{
$this->contact2_first_name_kana = $contact2FirstNameKana;
return $this;
}
/**
* Get contact2FirstNameKana
*
* @return string|null
*/
public function getContact2FirstNameKana()
{
return $this->contact2_first_name_kana;
}
/**
* Set contact2Email
*
* @param string|null $contact2Email
*
* @return Customer
*/
public function setContact2Email($contact2Email = null)
{
$this->contact2_email = $contact2Email;
return $this;
}
/**
* Get contact2Email
*
* @return string|null
*/
public function getContact2Email()
{
return $this->contact2_email;
}
/**
* Set contact2Phone
*
* @param string|null $contact2Phone
*
* @return Customer
*/
public function setContact2Phone($contact2Phone = null)
{
$this->contact2_phone = $contact2Phone;
return $this;
}
/**
* Get contact2Phone
*
* @return string|null
*/
public function getContact2Phone()
{
return $this->contact2_phone;
}
/**
* Set contact3LastName
*
* @param string|null $contact3LastName
*
* @return Customer
*/
public function setContact3LastName($contact3LastName = null)
{
$this->contact3_last_name = $contact3LastName;
return $this;
}
/**
* Get contact3LastName
*
* @return string|null
*/
public function getContact3LastName()
{
return $this->contact3_last_name;
}
/**
* Set contact3FirstName
*
* @param string|null $contact3FirstName
*
* @return Customer
*/
public function setContact3FirstName($contact3FirstName = null)
{
$this->contact3_first_name = $contact3FirstName;
return $this;
}
/**
* Get contact3FirstName
*
* @return string|null
*/
public function getContact3FirstName()
{
return $this->contact3_first_name;
}
/**
* Set contact3LastNameKana
*
* @param string|null $contact3LastNameKana
*
* @return Customer
*/
public function setContact3LastNameKana($contact3LastNameKana = null)
{
$this->contact3_last_name_kana = $contact3LastNameKana;
return $this;
}
/**
* Get contact3LastNameKana
*
* @return string|null
*/
public function getContact3LastNameKana()
{
return $this->contact3_last_name_kana;
}
/**
* Set contact3FirstNameKana
*
* @param string|null $contact3FirstNameKana
*
* @return Customer
*/
public function setContact3FirstNameKana($contact3FirstNameKana = null)
{
$this->contact3_first_name_kana = $contact3FirstNameKana;
return $this;
}
/**
* Get contact3FirstNameKana
*
* @return string|null
*/
public function getContact3FirstNameKana()
{
return $this->contact3_first_name_kana;
}
/**
* Set contact3Email
*
* @param string|null $contact3Email
*
* @return Customer
*/
public function setContact3Email($contact3Email = null)
{
$this->contact3_email = $contact3Email;
return $this;
}
/**
* Get contact3Email
*
* @return string|null
*/
public function getContact3Email()
{
return $this->contact3_email;
}
/**
* Set contact3Phone
*
* @param string|null $contact3Phone
*
* @return Customer
*/
public function setContact3Phone($contact3Phone = null)
{
$this->contact3_phone = $contact3Phone;
return $this;
}
/**
* Get contact3Phone
*
* @return string|null
*/
public function getContact3Phone()
{
return $this->contact3_phone;
}
// contact4〜contact10 も同様に setter と getter を追加
/**
* Set contact4LastName
*
* @param string|null $contact4LastName
*
* @return Customer
*/
public function setContact4LastName($contact4LastName = null)
{
$this->contact4_last_name = $contact4LastName;
return $this;
}
/**
* Get contact4LastName
*
* @return string|null
*/
public function getContact4LastName()
{
return $this->contact4_last_name;
}
/**
* Set contact4FirstName
*
* @param string|null $contact4FirstName
*
* @return Customer
*/
public function setContact4FirstName($contact4FirstName = null)
{
$this->contact4_first_name = $contact4FirstName;
return $this;
}
/**
* Get contact4FirstName
*
* @return string|null
*/
public function getContact4FirstName()
{
return $this->contact4_first_name;
}
/**
* Set contact4LastNameKana
*
* @param string|null $contact4LastNameKana
*
* @return Customer
*/
public function setContact4LastNameKana($contact4LastNameKana = null)
{
$this->contact4_last_name_kana = $contact4LastNameKana;
return $this;
}
/**
* Get contact4LastNameKana
*
* @return string|null
*/
public function getContact4LastNameKana()
{
return $this->contact4_last_name_kana;
}
/**
* Set contact4FirstNameKana
*
* @param string|null $contact4FirstNameKana
*
* @return Customer
*/
public function setContact4FirstNameKana($contact4FirstNameKana = null)
{
$this->contact4_first_name_kana = $contact4FirstNameKana;
return $this;
}
/**
* Get contact4FirstNameKana
*
* @return string|null
*/
public function getContact4FirstNameKana()
{
return $this->contact4_first_name_kana;
}
/**
* Set contact4Email
*
* @param string|null $contact4Email
*
* @return Customer
*/
public function setContact4Email($contact4Email = null)
{
$this->contact4_email = $contact4Email;
return $this;
}
/**
* Get contact4Email
*
* @return string|null
*/
public function getContact4Email()
{
return $this->contact4_email;
}
/**
* Set contact4Phone
*
* @param string|null $contact4Phone
*
* @return Customer
*/
public function setContact4Phone($contact4Phone = null)
{
$this->contact4_phone = $contact4Phone;
return $this;
}
/**
* Get contact4Phone
*
* @return string|null
*/
public function getContact4Phone()
{
return $this->contact4_phone;
}
/**
* Set contact5LastName
*
* @param string|null $contact5LastName
*
* @return Customer
*/
public function setContact5LastName($contact5LastName = null)
{
$this->contact5_last_name = $contact5LastName;
return $this;
}
/**
* Get contact5LastName
*
* @return string|null
*/
public function getContact5LastName()
{
return $this->contact5_last_name;
}
/**
* Set contact5FirstName
*
* @param string|null $contact5FirstName
*
* @return Customer
*/
public function setContact5FirstName($contact5FirstName = null)
{
$this->contact5_first_name = $contact5FirstName;
return $this;
}
/**
* Get contact5FirstName
*
* @return string|null
*/
public function getContact5FirstName()
{
return $this->contact5_first_name;
}
/**
* Set contact5LastNameKana
*
* @param string|null $contact5LastNameKana
*
* @return Customer
*/
public function setContact5LastNameKana($contact5LastNameKana = null)
{
$this->contact5_last_name_kana = $contact5LastNameKana;
return $this;
}
/**
* Get contact5LastNameKana
*
* @return string|null
*/
public function getContact5LastNameKana()
{
return $this->contact5_last_name_kana;
}
/**
* Set contact5FirstNameKana
*
* @param string|null $contact5FirstNameKana
*
* @return Customer
*/
public function setContact5FirstNameKana($contact5FirstNameKana = null)
{
$this->contact5_first_name_kana = $contact5FirstNameKana;
return $this;
}
/**
* Get contact5FirstNameKana
*
* @return string|null
*/
public function getContact5FirstNameKana()
{
return $this->contact5_first_name_kana;
}
/**
* Set contact5Email
*
* @param string|null $contact5Email
*
* @return Customer
*/
public function setContact5Email($contact5Email = null)
{
$this->contact5_email = $contact5Email;
return $this;
}
/**
* Get contact5Email
*
* @return string|null
*/
public function getContact5Email()
{
return $this->contact5_email;
}
/**
* Set contact5Phone
*
* @param string|null $contact5Phone
*
* @return Customer
*/
public function setContact5Phone($contact5Phone = null)
{
$this->contact5_phone = $contact5Phone;
return $this;
}
/**
* Get contact5Phone
*
* @return string|null
*/
public function getContact5Phone()
{
return $this->contact5_phone;
}
/**
* Set contact6LastName
*
* @param string|null $contact6LastName
*
* @return Customer
*/
public function setContact6LastName($contact6LastName = null)
{
$this->contact6_last_name = $contact6LastName;
return $this;
}
/**
* Get contact6LastName
*
* @return string|null
*/
public function getContact6LastName()
{
return $this->contact6_last_name;
}
/**
* Set contact6FirstName
*
* @param string|null $contact6FirstName
*
* @return Customer
*/
public function setContact6FirstName($contact6FirstName = null)
{
$this->contact6_first_name = $contact6FirstName;
return $this;
}
/**
* Get contact6FirstName
*
* @return string|null
*/
public function getContact6FirstName()
{
return $this->contact6_first_name;
}
/**
* Set contact6LastNameKana
*
* @param string|null $contact6LastNameKana
*
* @return Customer
*/
public function setContact6LastNameKana($contact6LastNameKana = null)
{
$this->contact6_last_name_kana = $contact6LastNameKana;
return $this;
}
/**
* Get contact6LastNameKana
*
* @return string|null
*/
public function getContact6LastNameKana()
{
return $this->contact6_last_name_kana;
}
/**
* Set contact6FirstNameKana
*
* @param string|null $contact6FirstNameKana
*
* @return Customer
*/
public function setContact6FirstNameKana($contact6FirstNameKana = null)
{
$this->contact6_first_name_kana = $contact6FirstNameKana;
return $this;
}
/**
* Get contact6FirstNameKana
*
* @return string|null
*/
public function getContact6FirstNameKana()
{
return $this->contact6_first_name_kana;
}
/**
* Set contact6Email
*
* @param string|null $contact6Email
*
* @return Customer
*/
public function setContact6Email($contact6Email = null)
{
$this->contact6_email = $contact6Email;
return $this;
}
/**
* Get contact6Email
*
* @return string|null
*/
public function getContact6Email()
{
return $this->contact6_email;
}
/**
* Set contact6Phone
*
* @param string|null $contact6Phone
*
* @return Customer
*/
public function setContact6Phone($contact6Phone = null)
{
$this->contact6_phone = $contact6Phone;
return $this;
}
/**
* Get contact6Phone
*
* @return string|null
*/
public function getContact6Phone()
{
return $this->contact6_phone;
}
/**
* Set contact7LastName
*
* @param string|null $contact7LastName
*
* @return Customer
*/
public function setContact7LastName($contact7LastName = null)
{
$this->contact7_last_name = $contact7LastName;
return $this;
}
/**
* Get contact7LastName
*
* @return string|null
*/
public function getContact7LastName()
{
return $this->contact7_last_name;
}
/**
* Set contact7FirstName
*
* @param string|null $contact7FirstName
*
* @return Customer
*/
public function setContact7FirstName($contact7FirstName = null)
{
$this->contact7_first_name = $contact7FirstName;
return $this;
}
/**
* Get contact7FirstName
*
* @return string|null
*/
public function getContact7FirstName()
{
return $this->contact7_first_name;
}
/**
* Set contact7LastNameKana
*
* @param string|null $contact7LastNameKana
*
* @return Customer
*/
public function setContact7LastNameKana($contact7LastNameKana = null)
{
$this->contact7_last_name_kana = $contact7LastNameKana;
return $this;
}
/**
* Get contact7LastNameKana
*
* @return string|null
*/
public function getContact7LastNameKana()
{
return $this->contact7_last_name_kana;
}
/**
* Set contact7FirstNameKana
*
* @param string|null $contact7FirstNameKana
*
* @return Customer
*/
public function setContact7FirstNameKana($contact7FirstNameKana = null)
{
$this->contact7_first_name_kana = $contact7FirstNameKana;
return $this;
}
/**
* Get contact7FirstNameKana
*
* @return string|null
*/
public function getContact7FirstNameKana()
{
return $this->contact7_first_name_kana;
}
/**
* Set contact7Email
*
* @param string|null $contact7Email
*
* @return Customer
*/
public function setContact7Email($contact7Email = null)
{
$this->contact7_email = $contact7Email;
return $this;
}
/**
* Get contact7Email
*
* @return string|null
*/
public function getContact7Email()
{
return $this->contact7_email;
}
/**
* Set contact7Phone
*
* @param string|null $contact7Phone
*
* @return Customer
*/
public function setContact7Phone($contact7Phone = null)
{
$this->contact7_phone = $contact7Phone;
return $this;
}
/**
* Get contact7Phone
*
* @return string|null
*/
public function getContact7Phone()
{
return $this->contact7_phone;
}
/**
* Set contact8LastName
*
* @param string|null $contact8LastName
*
* @return Customer
*/
public function setContact8LastName($contact8LastName = null)
{
$this->contact8_last_name = $contact8LastName;
return $this;
}
/**
* Get contact8LastName
*
* @return string|null
*/
public function getContact8LastName()
{
return $this->contact8_last_name;
}
/**
* Set contact8FirstName
*
* @param string|null $contact8FirstName
*
* @return Customer
*/
public function setContact8FirstName($contact8FirstName = null)
{
$this->contact8_first_name = $contact8FirstName;
return $this;
}
/**
* Get contact8FirstName
*
* @return string|null
*/
public function getContact8FirstName()
{
return $this->contact8_first_name;
}
/**
* Set contact8LastNameKana
*
* @param string|null $contact8LastNameKana
*
* @return Customer
*/
public function setContact8LastNameKana($contact8LastNameKana = null)
{
$this->contact8_last_name_kana = $contact8LastNameKana;
return $this;
}
/**
* Get contact8LastNameKana
*
* @return string|null
*/
public function getContact8LastNameKana()
{
return $this->contact8_last_name_kana;
}
/**
* Set contact8FirstNameKana
*
* @param string|null $contact8FirstNameKana
*
* @return Customer
*/
public function setContact8FirstNameKana($contact8FirstNameKana = null)
{
$this->contact8_first_name_kana = $contact8FirstNameKana;
return $this;
}
/**
* Get contact8FirstNameKana
*
* @return string|null
*/
public function getContact8FirstNameKana()
{
return $this->contact8_first_name_kana;
}
/**
* Set contact8Email
*
* @param string|null $contact8Email
*
* @return Customer
*/
public function setContact8Email($contact8Email = null)
{
$this->contact8_email = $contact8Email;
return $this;
}
/**
* Get contact8Email
*
* @return string|null
*/
public function getContact8Email()
{
return $this->contact8_email;
}
/**
* Set contact8Phone
*
* @param string|null $contact8Phone
*
* @return Customer
*/
public function setContact8Phone($contact8Phone = null)
{
$this->contact8_phone = $contact8Phone;
return $this;
}
/**
* Get contact8Phone
*
* @return string|null
*/
public function getContact8Phone()
{
return $this->contact8_phone;
}
/**
* Set contact9LastName
*
* @param string|null $contact9LastName
*
* @return Customer
*/
public function setContact9LastName($contact9LastName = null)
{
$this->contact9_last_name = $contact9LastName;
return $this;
}
/**
* Get contact9LastName
*
* @return string|null
*/
public function getContact9LastName()
{
return $this->contact9_last_name;
}
/**
* Set contact9FirstName
*
* @param string|null $contact9FirstName
*
* @return Customer
*/
public function setContact9FirstName($contact9FirstName = null)
{
$this->contact9_first_name = $contact9FirstName;
return $this;
}
/**
* Get contact9FirstName
*
* @return string|null
*/
public function getContact9FirstName()
{
return $this->contact9_first_name;
}
/**
* Set contact9LastNameKana
*
* @param string|null $contact9LastNameKana
*
* @return Customer
*/
public function setContact9LastNameKana($contact9LastNameKana = null)
{
$this->contact9_last_name_kana = $contact9LastNameKana;
return $this;
}
/**
* Get contact9LastNameKana
*
* @return string|null
*/
public function getContact9LastNameKana()
{
return $this->contact9_last_name_kana;
}
/**
* Set contact9FirstNameKana
*
* @param string|null $contact9FirstNameKana
*
* @return Customer
*/
public function setContact9FirstNameKana($contact9FirstNameKana = null)
{
$this->contact9_first_name_kana = $contact9FirstNameKana;
return $this;
}
/**
* Get contact9FirstNameKana
*
* @return string|null
*/
public function getContact9FirstNameKana()
{
return $this->contact9_first_name_kana;
}
/**
* Set contact9Email
*
* @param string|null $contact9Email
*
* @return Customer
*/
public function setContact9Email($contact9Email = null)
{
$this->contact9_email = $contact9Email;
return $this;
}
/**
* Get contact9Email
*
* @return string|null
*/
public function getContact9Email()
{
return $this->contact9_email;
}
/**
* Set contact9Phone
*
* @param string|null $contact9Phone
*
* @return Customer
*/
public function setContact9Phone($contact9Phone = null)
{
$this->contact9_phone = $contact9Phone;
return $this;
}
/**
* Get contact9Phone
*
* @return string|null
*/
public function getContact9Phone()
{
return $this->contact9_phone;
}
/**
* Set contact10LastName
*
* @param string|null $contact10LastName
*
* @return Customer
*/
public function setContact10LastName($contact10LastName = null)
{
$this->contact10_last_name = $contact10LastName;
return $this;
}
/**
* Get contact10LastName
*
* @return string|null
*/
public function getContact10LastName()
{
return $this->contact10_last_name;
}
/**
* Set contact10FirstName
*
* @param string|null $contact10FirstName
*
* @return Customer
*/
public function setContact10FirstName($contact10FirstName = null)
{
$this->contact10_first_name = $contact10FirstName;
return $this;
}
/**
* Get contact10FirstName
*
* @return string|null
*/
public function getContact10FirstName()
{
return $this->contact10_first_name;
}
/**
* Set contact10LastNameKana
*
* @param string|null $contact10LastNameKana
*
* @return Customer
*/
public function setContact10LastNameKana($contact10LastNameKana = null)
{
$this->contact10_last_name_kana = $contact10LastNameKana;
return $this;
}
/**
* Get contact10LastNameKana
*
* @return string|null
*/
public function getContact10LastNameKana()
{
return $this->contact10_last_name_kana;
}
/**
* Set contact10FirstNameKana
*
* @param string|null $contact10FirstNameKana
*
* @return Customer
*/
public function setContact10FirstNameKana($contact10FirstNameKana = null)
{
$this->contact10_first_name_kana = $contact10FirstNameKana;
return $this;
}
/**
* Get contact10FirstNameKana
*
* @return string|null
*/
public function getContact10FirstNameKana()
{
return $this->contact10_first_name_kana;
}
/**
* Set contact10Email
*
* @param string|null $contact10Email
*
* @return Customer
*/
public function setContact10Email($contact10Email = null)
{
$this->contact10_email = $contact10Email;
return $this;
}
/**
* Get contact10Email
*
* @return string|null
*/
public function getContact10Email()
{
return $this->contact10_email;
}
/**
* Set contact10Phone
*
* @param string|null $contact10Phone
*
* @return Customer
*/
public function setContact10Phone($contact10Phone = null)
{
$this->contact10_phone = $contact10Phone;
return $this;
}
/**
* Get contact10Phone
*
* @return string|null
*/
public function getContact10Phone()
{
return $this->contact10_phone;
}
/**
* Set contact11LastName
*
* @param string|null $contact11LastName
*
* @return Customer
*/
public function setContact11LastName($contact11LastName = null)
{
$this->contact11_last_name = $contact11LastName;
return $this;
}
/**
* Get contact11LastName
*
* @return string|null
*/
public function getContact11LastName()
{
return $this->contact11_last_name;
}
/**
* Set contact11FirstName
*
* @param string|null $contact11FirstName
*
* @return Customer
*/
public function setContact11FirstName($contact11FirstName = null)
{
$this->contact11_first_name = $contact11FirstName;
return $this;
}
/**
* Get contact11FirstName
*
* @return string|null
*/
public function getContact11FirstName()
{
return $this->contact11_first_name;
}
/**
* Set contact11LastNameKana
*
* @param string|null $contact11LastNameKana
*
* @return Customer
*/
public function setContact11LastNameKana($contact11LastNameKana = null)
{
$this->contact11_last_name_kana = $contact11LastNameKana;
return $this;
}
/**
* Get contact11LastNameKana
*
* @return string|null
*/
public function getContact11LastNameKana()
{
return $this->contact11_last_name_kana;
}
/**
* Set contact11FirstNameKana
*
* @param string|null $contact11FirstNameKana
*
* @return Customer
*/
public function setContact11FirstNameKana($contact11FirstNameKana = null)
{
$this->contact11_first_name_kana = $contact11FirstNameKana;
return $this;
}
/**
* Get contact11FirstNameKana
*
* @return string|null
*/
public function getContact11FirstNameKana()
{
return $this->contact11_first_name_kana;
}
/**
* Set contact11Email
*
* @param string|null $contact11Email
*
* @return Customer
*/
public function setContact11Email($contact11Email = null)
{
$this->contact11_email = $contact11Email;
return $this;
}
/**
* Get contact11Email
*
* @return string|null
*/
public function getContact11Email()
{
return $this->contact11_email;
}
/**
* Set contact11Phone
*
* @param string|null $contact11Phone
*
* @return Customer
*/
public function setContact11Phone($contact11Phone = null)
{
$this->contact11_phone = $contact11Phone;
return $this;
}
/**
* Get contact11Phone
*
* @return string|null
*/
public function getContact11Phone()
{
return $this->contact11_phone;
}
// contact12〜contact110 も同様に setter と getter を追加
/**
* Set contact12LastName
*
* @param string|null $contact12LastName
*
* @return Customer
*/
public function setContact12LastName($contact12LastName = null)
{
$this->contact12_last_name = $contact12LastName;
return $this;
}
/**
* Get contact12LastName
*
* @return string|null
*/
public function getContact12LastName()
{
return $this->contact12_last_name;
}
/**
* Set contact12FirstName
*
* @param string|null $contact12FirstName
*
* @return Customer
*/
public function setContact12FirstName($contact12FirstName = null)
{
$this->contact12_first_name = $contact12FirstName;
return $this;
}
/**
* Get contact12FirstName
*
* @return string|null
*/
public function getContact12FirstName()
{
return $this->contact12_first_name;
}
/**
* Set contact12LastNameKana
*
* @param string|null $contact12LastNameKana
*
* @return Customer
*/
public function setContact12LastNameKana($contact12LastNameKana = null)
{
$this->contact12_last_name_kana = $contact12LastNameKana;
return $this;
}
/**
* Get contact12LastNameKana
*
* @return string|null
*/
public function getContact12LastNameKana()
{
return $this->contact12_last_name_kana;
}
/**
* Set contact12FirstNameKana
*
* @param string|null $contact12FirstNameKana
*
* @return Customer
*/
public function setContact12FirstNameKana($contact12FirstNameKana = null)
{
$this->contact12_first_name_kana = $contact12FirstNameKana;
return $this;
}
/**
* Get contact12FirstNameKana
*
* @return string|null
*/
public function getContact12FirstNameKana()
{
return $this->contact12_first_name_kana;
}
/**
* Set contact12Email
*
* @param string|null $contact12Email
*
* @return Customer
*/
public function setContact12Email($contact12Email = null)
{
$this->contact12_email = $contact12Email;
return $this;
}
/**
* Get contact12Email
*
* @return string|null
*/
public function getContact12Email()
{
return $this->contact12_email;
}
/**
* Set contact12Phone
*
* @param string|null $contact12Phone
*
* @return Customer
*/
public function setContact12Phone($contact12Phone = null)
{
$this->contact12_phone = $contact12Phone;
return $this;
}
/**
* Get contact12Phone
*
* @return string|null
*/
public function getContact12Phone()
{
return $this->contact12_phone;
}
/**
* Set contact13LastName
*
* @param string|null $contact13LastName
*
* @return Customer
*/
public function setContact13LastName($contact13LastName = null)
{
$this->contact13_last_name = $contact13LastName;
return $this;
}
/**
* Get contact13LastName
*
* @return string|null
*/
public function getContact13LastName()
{
return $this->contact13_last_name;
}
/**
* Set contact13FirstName
*
* @param string|null $contact13FirstName
*
* @return Customer
*/
public function setContact13FirstName($contact13FirstName = null)
{
$this->contact13_first_name = $contact13FirstName;
return $this;
}
/**
* Get contact13FirstName
*
* @return string|null
*/
public function getContact13FirstName()
{
return $this->contact13_first_name;
}
/**
* Set contact13LastNameKana
*
* @param string|null $contact13LastNameKana
*
* @return Customer
*/
public function setContact13LastNameKana($contact13LastNameKana = null)
{
$this->contact13_last_name_kana = $contact13LastNameKana;
return $this;
}
/**
* Get contact13LastNameKana
*
* @return string|null
*/
public function getContact13LastNameKana()
{
return $this->contact13_last_name_kana;
}
/**
* Set contact13FirstNameKana
*
* @param string|null $contact13FirstNameKana
*
* @return Customer
*/
public function setContact13FirstNameKana($contact13FirstNameKana = null)
{
$this->contact13_first_name_kana = $contact13FirstNameKana;
return $this;
}
/**
* Get contact13FirstNameKana
*
* @return string|null
*/
public function getContact13FirstNameKana()
{
return $this->contact13_first_name_kana;
}
/**
* Set contact13Email
*
* @param string|null $contact13Email
*
* @return Customer
*/
public function setContact13Email($contact13Email = null)
{
$this->contact13_email = $contact13Email;
return $this;
}
/**
* Get contact13Email
*
* @return string|null
*/
public function getContact13Email()
{
return $this->contact13_email;
}
/**
* Set contact13Phone
*
* @param string|null $contact13Phone
*
* @return Customer
*/
public function setContact13Phone($contact13Phone = null)
{
$this->contact13_phone = $contact13Phone;
return $this;
}
/**
* Get contact13Phone
*
* @return string|null
*/
public function getContact13Phone()
{
return $this->contact13_phone;
}
// contact14〜contact110 も同様に setter と getter を追加
/**
* Set contact14LastName
*
* @param string|null $contact14LastName
*
* @return Customer
*/
public function setContact14LastName($contact14LastName = null)
{
$this->contact14_last_name = $contact14LastName;
return $this;
}
/**
* Get contact14LastName
*
* @return string|null
*/
public function getContact14LastName()
{
return $this->contact14_last_name;
}
/**
* Set contact14FirstName
*
* @param string|null $contact14FirstName
*
* @return Customer
*/
public function setContact14FirstName($contact14FirstName = null)
{
$this->contact14_first_name = $contact14FirstName;
return $this;
}
/**
* Get contact14FirstName
*
* @return string|null
*/
public function getContact14FirstName()
{
return $this->contact14_first_name;
}
/**
* Set contact14LastNameKana
*
* @param string|null $contact14LastNameKana
*
* @return Customer
*/
public function setContact14LastNameKana($contact14LastNameKana = null)
{
$this->contact14_last_name_kana = $contact14LastNameKana;
return $this;
}
/**
* Get contact14LastNameKana
*
* @return string|null
*/
public function getContact14LastNameKana()
{
return $this->contact14_last_name_kana;
}
/**
* Set contact14FirstNameKana
*
* @param string|null $contact14FirstNameKana
*
* @return Customer
*/
public function setContact14FirstNameKana($contact14FirstNameKana = null)
{
$this->contact14_first_name_kana = $contact14FirstNameKana;
return $this;
}
/**
* Get contact14FirstNameKana
*
* @return string|null
*/
public function getContact14FirstNameKana()
{
return $this->contact14_first_name_kana;
}
/**
* Set contact14Email
*
* @param string|null $contact14Email
*
* @return Customer
*/
public function setContact14Email($contact14Email = null)
{
$this->contact14_email = $contact14Email;
return $this;
}
/**
* Get contact14Email
*
* @return string|null
*/
public function getContact14Email()
{
return $this->contact14_email;
}
/**
* Set contact14Phone
*
* @param string|null $contact14Phone
*
* @return Customer
*/
public function setContact14Phone($contact14Phone = null)
{
$this->contact14_phone = $contact14Phone;
return $this;
}
/**
* Get contact14Phone
*
* @return string|null
*/
public function getContact14Phone()
{
return $this->contact14_phone;
}
/**
* Set contact15LastName
*
* @param string|null $contact15LastName
*
* @return Customer
*/
public function setContact15LastName($contact15LastName = null)
{
$this->contact15_last_name = $contact15LastName;
return $this;
}
/**
* Get contact15LastName
*
* @return string|null
*/
public function getContact15LastName()
{
return $this->contact15_last_name;
}
/**
* Set contact15FirstName
*
* @param string|null $contact15FirstName
*
* @return Customer
*/
public function setContact15FirstName($contact15FirstName = null)
{
$this->contact15_first_name = $contact15FirstName;
return $this;
}
/**
* Get contact15FirstName
*
* @return string|null
*/
public function getContact15FirstName()
{
return $this->contact15_first_name;
}
/**
* Set contact15LastNameKana
*
* @param string|null $contact15LastNameKana
*
* @return Customer
*/
public function setContact15LastNameKana($contact15LastNameKana = null)
{
$this->contact15_last_name_kana = $contact15LastNameKana;
return $this;
}
/**
* Get contact15LastNameKana
*
* @return string|null
*/
public function getContact15LastNameKana()
{
return $this->contact15_last_name_kana;
}
/**
* Set contact15FirstNameKana
*
* @param string|null $contact15FirstNameKana
*
* @return Customer
*/
public function setContact15FirstNameKana($contact15FirstNameKana = null)
{
$this->contact15_first_name_kana = $contact15FirstNameKana;
return $this;
}
/**
* Get contact15FirstNameKana
*
* @return string|null
*/
public function getContact15FirstNameKana()
{
return $this->contact15_first_name_kana;
}
/**
* Set contact15Email
*
* @param string|null $contact15Email
*
* @return Customer
*/
public function setContact15Email($contact15Email = null)
{
$this->contact15_email = $contact15Email;
return $this;
}
/**
* Get contact15Email
*
* @return string|null
*/
public function getContact15Email()
{
return $this->contact15_email;
}
/**
* Set contact15Phone
*
* @param string|null $contact15Phone
*
* @return Customer
*/
public function setContact15Phone($contact15Phone = null)
{
$this->contact15_phone = $contact15Phone;
return $this;
}
/**
* Get contact15Phone
*
* @return string|null
*/
public function getContact15Phone()
{
return $this->contact15_phone;
}
/**
* Set contact16LastName
*
* @param string|null $contact16LastName
*
* @return Customer
*/
public function setContact16LastName($contact16LastName = null)
{
$this->contact16_last_name = $contact16LastName;
return $this;
}
/**
* Get contact16LastName
*
* @return string|null
*/
public function getContact16LastName()
{
return $this->contact16_last_name;
}
/**
* Set contact16FirstName
*
* @param string|null $contact16FirstName
*
* @return Customer
*/
public function setContact16FirstName($contact16FirstName = null)
{
$this->contact16_first_name = $contact16FirstName;
return $this;
}
/**
* Get contact16FirstName
*
* @return string|null
*/
public function getContact16FirstName()
{
return $this->contact16_first_name;
}
/**
* Set contact16LastNameKana
*
* @param string|null $contact16LastNameKana
*
* @return Customer
*/
public function setContact16LastNameKana($contact16LastNameKana = null)
{
$this->contact16_last_name_kana = $contact16LastNameKana;
return $this;
}
/**
* Get contact16LastNameKana
*
* @return string|null
*/
public function getContact16LastNameKana()
{
return $this->contact16_last_name_kana;
}
/**
* Set contact16FirstNameKana
*
* @param string|null $contact16FirstNameKana
*
* @return Customer
*/
public function setContact16FirstNameKana($contact16FirstNameKana = null)
{
$this->contact16_first_name_kana = $contact16FirstNameKana;
return $this;
}
/**
* Get contact16FirstNameKana
*
* @return string|null
*/
public function getContact16FirstNameKana()
{
return $this->contact16_first_name_kana;
}
/**
* Set contact16Email
*
* @param string|null $contact16Email
*
* @return Customer
*/
public function setContact16Email($contact16Email = null)
{
$this->contact16_email = $contact16Email;
return $this;
}
/**
* Get contact16Email
*
* @return string|null
*/
public function getContact16Email()
{
return $this->contact16_email;
}
/**
* Set contact16Phone
*
* @param string|null $contact16Phone
*
* @return Customer
*/
public function setContact16Phone($contact16Phone = null)
{
$this->contact16_phone = $contact16Phone;
return $this;
}
/**
* Get contact16Phone
*
* @return string|null
*/
public function getContact16Phone()
{
return $this->contact16_phone;
}
/**
* Set contact17LastName
*
* @param string|null $contact17LastName
*
* @return Customer
*/
public function setContact17LastName($contact17LastName = null)
{
$this->contact17_last_name = $contact17LastName;
return $this;
}
/**
* Get contact17LastName
*
* @return string|null
*/
public function getContact17LastName()
{
return $this->contact17_last_name;
}
/**
* Set contact17FirstName
*
* @param string|null $contact17FirstName
*
* @return Customer
*/
public function setContact17FirstName($contact17FirstName = null)
{
$this->contact17_first_name = $contact17FirstName;
return $this;
}
/**
* Get contact17FirstName
*
* @return string|null
*/
public function getContact17FirstName()
{
return $this->contact17_first_name;
}
/**
* Set contact17LastNameKana
*
* @param string|null $contact17LastNameKana
*
* @return Customer
*/
public function setContact17LastNameKana($contact17LastNameKana = null)
{
$this->contact17_last_name_kana = $contact17LastNameKana;
return $this;
}
/**
* Get contact17LastNameKana
*
* @return string|null
*/
public function getContact17LastNameKana()
{
return $this->contact17_last_name_kana;
}
/**
* Set contact17FirstNameKana
*
* @param string|null $contact17FirstNameKana
*
* @return Customer
*/
public function setContact17FirstNameKana($contact17FirstNameKana = null)
{
$this->contact17_first_name_kana = $contact17FirstNameKana;
return $this;
}
/**
* Get contact17FirstNameKana
*
* @return string|null
*/
public function getContact17FirstNameKana()
{
return $this->contact17_first_name_kana;
}
/**
* Set contact17Email
*
* @param string|null $contact17Email
*
* @return Customer
*/
public function setContact17Email($contact17Email = null)
{
$this->contact17_email = $contact17Email;
return $this;
}
/**
* Get contact17Email
*
* @return string|null
*/
public function getContact17Email()
{
return $this->contact17_email;
}
/**
* Set contact17Phone
*
* @param string|null $contact17Phone
*
* @return Customer
*/
public function setContact17Phone($contact17Phone = null)
{
$this->contact17_phone = $contact17Phone;
return $this;
}
/**
* Get contact17Phone
*
* @return string|null
*/
public function getContact17Phone()
{
return $this->contact17_phone;
}
/**
* Set contact18LastName
*
* @param string|null $contact18LastName
*
* @return Customer
*/
public function setContact18LastName($contact18LastName = null)
{
$this->contact18_last_name = $contact18LastName;
return $this;
}
/**
* Get contact18LastName
*
* @return string|null
*/
public function getContact18LastName()
{
return $this->contact18_last_name;
}
/**
* Set contact18FirstName
*
* @param string|null $contact18FirstName
*
* @return Customer
*/
public function setContact18FirstName($contact18FirstName = null)
{
$this->contact18_first_name = $contact18FirstName;
return $this;
}
/**
* Get contact18FirstName
*
* @return string|null
*/
public function getContact18FirstName()
{
return $this->contact18_first_name;
}
/**
* Set contact18LastNameKana
*
* @param string|null $contact18LastNameKana
*
* @return Customer
*/
public function setContact18LastNameKana($contact18LastNameKana = null)
{
$this->contact18_last_name_kana = $contact18LastNameKana;
return $this;
}
/**
* Get contact18LastNameKana
*
* @return string|null
*/
public function getContact18LastNameKana()
{
return $this->contact18_last_name_kana;
}
/**
* Set contact18FirstNameKana
*
* @param string|null $contact18FirstNameKana
*
* @return Customer
*/
public function setContact18FirstNameKana($contact18FirstNameKana = null)
{
$this->contact18_first_name_kana = $contact18FirstNameKana;
return $this;
}
/**
* Get contact18FirstNameKana
*
* @return string|null
*/
public function getContact18FirstNameKana()
{
return $this->contact18_first_name_kana;
}
/**
* Set contact18Email
*
* @param string|null $contact18Email
*
* @return Customer
*/
public function setContact18Email($contact18Email = null)
{
$this->contact18_email = $contact18Email;
return $this;
}
/**
* Get contact18Email
*
* @return string|null
*/
public function getContact18Email()
{
return $this->contact18_email;
}
/**
* Set contact18Phone
*
* @param string|null $contact18Phone
*
* @return Customer
*/
public function setContact18Phone($contact18Phone = null)
{
$this->contact18_phone = $contact18Phone;
return $this;
}
/**
* Get contact18Phone
*
* @return string|null
*/
public function getContact18Phone()
{
return $this->contact18_phone;
}
/**
* Set contact19LastName
*
* @param string|null $contact19LastName
*
* @return Customer
*/
public function setContact19LastName($contact19LastName = null)
{
$this->contact19_last_name = $contact19LastName;
return $this;
}
/**
* Get contact19LastName
*
* @return string|null
*/
public function getContact19LastName()
{
return $this->contact19_last_name;
}
/**
* Set contact19FirstName
*
* @param string|null $contact19FirstName
*
* @return Customer
*/
public function setContact19FirstName($contact19FirstName = null)
{
$this->contact19_first_name = $contact19FirstName;
return $this;
}
/**
* Get contact19FirstName
*
* @return string|null
*/
public function getContact19FirstName()
{
return $this->contact19_first_name;
}
/**
* Set contact19LastNameKana
*
* @param string|null $contact19LastNameKana
*
* @return Customer
*/
public function setContact19LastNameKana($contact19LastNameKana = null)
{
$this->contact19_last_name_kana = $contact19LastNameKana;
return $this;
}
/**
* Get contact19LastNameKana
*
* @return string|null
*/
public function getContact19LastNameKana()
{
return $this->contact19_last_name_kana;
}
/**
* Set contact19FirstNameKana
*
* @param string|null $contact19FirstNameKana
*
* @return Customer
*/
public function setContact19FirstNameKana($contact19FirstNameKana = null)
{
$this->contact19_first_name_kana = $contact19FirstNameKana;
return $this;
}
/**
* Get contact19FirstNameKana
*
* @return string|null
*/
public function getContact19FirstNameKana()
{
return $this->contact19_first_name_kana;
}
/**
* Set contact19Email
*
* @param string|null $contact19Email
*
* @return Customer
*/
public function setContact19Email($contact19Email = null)
{
$this->contact19_email = $contact19Email;
return $this;
}
/**
* Get contact19Email
*
* @return string|null
*/
public function getContact19Email()
{
return $this->contact19_email;
}
/**
* Set contact19Phone
*
* @param string|null $contact19Phone
*
* @return Customer
*/
public function setContact19Phone($contact19Phone = null)
{
$this->contact19_phone = $contact19Phone;
return $this;
}
/**
* Get contact19Phone
*
* @return string|null
*/
public function getContact19Phone()
{
return $this->contact19_phone;
}
/**
* Set contact20LastName
*
* @param string|null $contact20LastName
*
* @return Customer
*/
public function setContact20LastName($contact20LastName = null)
{
$this->contact20_last_name = $contact20LastName;
return $this;
}
/**
* Get contact20LastName
*
* @return string|null
*/
public function getContact20LastName()
{
return $this->contact20_last_name;
}
/**
* Set contact20FirstName
*
* @param string|null $contact20FirstName
*
* @return Customer
*/
public function setContact20FirstName($contact20FirstName = null)
{
$this->contact20_first_name = $contact20FirstName;
return $this;
}
/**
* Get contact20FirstName
*
* @return string|null
*/
public function getContact20FirstName()
{
return $this->contact20_first_name;
}
/**
* Set contact20LastNameKana
*
* @param string|null $contact20LastNameKana
*
* @return Customer
*/
public function setContact20LastNameKana($contact20LastNameKana = null)
{
$this->contact20_last_name_kana = $contact20LastNameKana;
return $this;
}
/**
* Get contact20LastNameKana
*
* @return string|null
*/
public function getContact20LastNameKana()
{
return $this->contact20_last_name_kana;
}
/**
* Set contact20FirstNameKana
*
* @param string|null $contact20FirstNameKana
*
* @return Customer
*/
public function setContact20FirstNameKana($contact20FirstNameKana = null)
{
$this->contact20_first_name_kana = $contact20FirstNameKana;
return $this;
}
/**
* Get contact20FirstNameKana
*
* @return string|null
*/
public function getContact20FirstNameKana()
{
return $this->contact20_first_name_kana;
}
/**
* Set contact20Email
*
* @param string|null $contact20Email
*
* @return Customer
*/
public function setContact20Email($contact20Email = null)
{
$this->contact20_email = $contact20Email;
return $this;
}
/**
* Get contact20Email
*
* @return string|null
*/
public function getContact20Email()
{
return $this->contact20_email;
}
/**
* Set contact20Phone
*
* @param string|null $contact20Phone
*
* @return Customer
*/
public function setContact20Phone($contact20Phone = null)
{
$this->contact20_phone = $contact20Phone;
return $this;
}
/**
* Get contact20Phone
*
* @return string|null
*/
public function getContact20Phone()
{
return $this->contact20_phone;
}
/**
* Set contact21LastName
*
* @param string|null $contact21LastName
*
* @return Customer
*/
public function setContact21LastName($contact21LastName = null)
{
$this->contact21_last_name = $contact21LastName;
return $this;
}
/**
* Get contact21LastName
*
* @return string|null
*/
public function getContact21LastName()
{
return $this->contact21_last_name;
}
/**
* Set contact21FirstName
*
* @param string|null $contact21FirstName
*
* @return Customer
*/
public function setContact21FirstName($contact21FirstName = null)
{
$this->contact21_first_name = $contact21FirstName;
return $this;
}
/**
* Get contact21FirstName
*
* @return string|null
*/
public function getContact21FirstName()
{
return $this->contact21_first_name;
}
/**
* Set contact21LastNameKana
*
* @param string|null $contact21LastNameKana
*
* @return Customer
*/
public function setContact21LastNameKana($contact21LastNameKana = null)
{
$this->contact21_last_name_kana = $contact21LastNameKana;
return $this;
}
/**
* Get contact21LastNameKana
*
* @return string|null
*/
public function getContact21LastNameKana()
{
return $this->contact21_last_name_kana;
}
/**
* Set contact21FirstNameKana
*
* @param string|null $contact21FirstNameKana
*
* @return Customer
*/
public function setContact21FirstNameKana($contact21FirstNameKana = null)
{
$this->contact21_first_name_kana = $contact21FirstNameKana;
return $this;
}
/**
* Get contact21FirstNameKana
*
* @return string|null
*/
public function getContact21FirstNameKana()
{
return $this->contact21_first_name_kana;
}
/**
* Set contact21Email
*
* @param string|null $contact21Email
*
* @return Customer
*/
public function setContact21Email($contact21Email = null)
{
$this->contact21_email = $contact21Email;
return $this;
}
/**
* Get contact21Email
*
* @return string|null
*/
public function getContact21Email()
{
return $this->contact21_email;
}
/**
* Set contact21Phone
*
* @param string|null $contact21Phone
*
* @return Customer
*/
public function setContact21Phone($contact21Phone = null)
{
$this->contact21_phone = $contact21Phone;
return $this;
}
/**
* Get contact21Phone
*
* @return string|null
*/
public function getContact21Phone()
{
return $this->contact21_phone;
}
// contact22〜contact210 も同様に setter と getter を追加
/**
* Set contact22LastName
*
* @param string|null $contact22LastName
*
* @return Customer
*/
public function setContact22LastName($contact22LastName = null)
{
$this->contact22_last_name = $contact22LastName;
return $this;
}
/**
* Get contact22LastName
*
* @return string|null
*/
public function getContact22LastName()
{
return $this->contact22_last_name;
}
/**
* Set contact22FirstName
*
* @param string|null $contact22FirstName
*
* @return Customer
*/
public function setContact22FirstName($contact22FirstName = null)
{
$this->contact22_first_name = $contact22FirstName;
return $this;
}
/**
* Get contact22FirstName
*
* @return string|null
*/
public function getContact22FirstName()
{
return $this->contact22_first_name;
}
/**
* Set contact22LastNameKana
*
* @param string|null $contact22LastNameKana
*
* @return Customer
*/
public function setContact22LastNameKana($contact22LastNameKana = null)
{
$this->contact22_last_name_kana = $contact22LastNameKana;
return $this;
}
/**
* Get contact22LastNameKana
*
* @return string|null
*/
public function getContact22LastNameKana()
{
return $this->contact22_last_name_kana;
}
/**
* Set contact22FirstNameKana
*
* @param string|null $contact22FirstNameKana
*
* @return Customer
*/
public function setContact22FirstNameKana($contact22FirstNameKana = null)
{
$this->contact22_first_name_kana = $contact22FirstNameKana;
return $this;
}
/**
* Get contact22FirstNameKana
*
* @return string|null
*/
public function getContact22FirstNameKana()
{
return $this->contact22_first_name_kana;
}
/**
* Set contact22Email
*
* @param string|null $contact22Email
*
* @return Customer
*/
public function setContact22Email($contact22Email = null)
{
$this->contact22_email = $contact22Email;
return $this;
}
/**
* Get contact22Email
*
* @return string|null
*/
public function getContact22Email()
{
return $this->contact22_email;
}
/**
* Set contact22Phone
*
* @param string|null $contact22Phone
*
* @return Customer
*/
public function setContact22Phone($contact22Phone = null)
{
$this->contact22_phone = $contact22Phone;
return $this;
}
/**
* Get contact22Phone
*
* @return string|null
*/
public function getContact22Phone()
{
return $this->contact22_phone;
}
/**
* Set contact23LastName
*
* @param string|null $contact23LastName
*
* @return Customer
*/
public function setContact23LastName($contact23LastName = null)
{
$this->contact23_last_name = $contact23LastName;
return $this;
}
/**
* Get contact23LastName
*
* @return string|null
*/
public function getContact23LastName()
{
return $this->contact23_last_name;
}
/**
* Set contact23FirstName
*
* @param string|null $contact23FirstName
*
* @return Customer
*/
public function setContact23FirstName($contact23FirstName = null)
{
$this->contact23_first_name = $contact23FirstName;
return $this;
}
/**
* Get contact23FirstName
*
* @return string|null
*/
public function getContact23FirstName()
{
return $this->contact23_first_name;
}
/**
* Set contact23LastNameKana
*
* @param string|null $contact23LastNameKana
*
* @return Customer
*/
public function setContact23LastNameKana($contact23LastNameKana = null)
{
$this->contact23_last_name_kana = $contact23LastNameKana;
return $this;
}
/**
* Get contact23LastNameKana
*
* @return string|null
*/
public function getContact23LastNameKana()
{
return $this->contact23_last_name_kana;
}
/**
* Set contact23FirstNameKana
*
* @param string|null $contact23FirstNameKana
*
* @return Customer
*/
public function setContact23FirstNameKana($contact23FirstNameKana = null)
{
$this->contact23_first_name_kana = $contact23FirstNameKana;
return $this;
}
/**
* Get contact23FirstNameKana
*
* @return string|null
*/
public function getContact23FirstNameKana()
{
return $this->contact23_first_name_kana;
}
/**
* Set contact23Email
*
* @param string|null $contact23Email
*
* @return Customer
*/
public function setContact23Email($contact23Email = null)
{
$this->contact23_email = $contact23Email;
return $this;
}
/**
* Get contact23Email
*
* @return string|null
*/
public function getContact23Email()
{
return $this->contact23_email;
}
/**
* Set contact23Phone
*
* @param string|null $contact23Phone
*
* @return Customer
*/
public function setContact23Phone($contact23Phone = null)
{
$this->contact23_phone = $contact23Phone;
return $this;
}
/**
* Get contact23Phone
*
* @return string|null
*/
public function getContact23Phone()
{
return $this->contact23_phone;
}
// contact24〜contact210 も同様に setter と getter を追加
/**
* Set contact24LastName
*
* @param string|null $contact24LastName
*
* @return Customer
*/
public function setContact24LastName($contact24LastName = null)
{
$this->contact24_last_name = $contact24LastName;
return $this;
}
/**
* Get contact24LastName
*
* @return string|null
*/
public function getContact24LastName()
{
return $this->contact24_last_name;
}
/**
* Set contact24FirstName
*
* @param string|null $contact24FirstName
*
* @return Customer
*/
public function setContact24FirstName($contact24FirstName = null)
{
$this->contact24_first_name = $contact24FirstName;
return $this;
}
/**
* Get contact24FirstName
*
* @return string|null
*/
public function getContact24FirstName()
{
return $this->contact24_first_name;
}
/**
* Set contact24LastNameKana
*
* @param string|null $contact24LastNameKana
*
* @return Customer
*/
public function setContact24LastNameKana($contact24LastNameKana = null)
{
$this->contact24_last_name_kana = $contact24LastNameKana;
return $this;
}
/**
* Get contact24LastNameKana
*
* @return string|null
*/
public function getContact24LastNameKana()
{
return $this->contact24_last_name_kana;
}
/**
* Set contact24FirstNameKana
*
* @param string|null $contact24FirstNameKana
*
* @return Customer
*/
public function setContact24FirstNameKana($contact24FirstNameKana = null)
{
$this->contact24_first_name_kana = $contact24FirstNameKana;
return $this;
}
/**
* Get contact24FirstNameKana
*
* @return string|null
*/
public function getContact24FirstNameKana()
{
return $this->contact24_first_name_kana;
}
/**
* Set contact24Email
*
* @param string|null $contact24Email
*
* @return Customer
*/
public function setContact24Email($contact24Email = null)
{
$this->contact24_email = $contact24Email;
return $this;
}
/**
* Get contact24Email
*
* @return string|null
*/
public function getContact24Email()
{
return $this->contact24_email;
}
/**
* Set contact24Phone
*
* @param string|null $contact24Phone
*
* @return Customer
*/
public function setContact24Phone($contact24Phone = null)
{
$this->contact24_phone = $contact24Phone;
return $this;
}
/**
* Get contact24Phone
*
* @return string|null
*/
public function getContact24Phone()
{
return $this->contact24_phone;
}
/**
* Set contact25LastName
*
* @param string|null $contact25LastName
*
* @return Customer
*/
public function setContact25LastName($contact25LastName = null)
{
$this->contact25_last_name = $contact25LastName;
return $this;
}
/**
* Get contact25LastName
*
* @return string|null
*/
public function getContact25LastName()
{
return $this->contact25_last_name;
}
/**
* Set contact25FirstName
*
* @param string|null $contact25FirstName
*
* @return Customer
*/
public function setContact25FirstName($contact25FirstName = null)
{
$this->contact25_first_name = $contact25FirstName;
return $this;
}
/**
* Get contact25FirstName
*
* @return string|null
*/
public function getContact25FirstName()
{
return $this->contact25_first_name;
}
/**
* Set contact25LastNameKana
*
* @param string|null $contact25LastNameKana
*
* @return Customer
*/
public function setContact25LastNameKana($contact25LastNameKana = null)
{
$this->contact25_last_name_kana = $contact25LastNameKana;
return $this;
}
/**
* Get contact25LastNameKana
*
* @return string|null
*/
public function getContact25LastNameKana()
{
return $this->contact25_last_name_kana;
}
/**
* Set contact25FirstNameKana
*
* @param string|null $contact25FirstNameKana
*
* @return Customer
*/
public function setContact25FirstNameKana($contact25FirstNameKana = null)
{
$this->contact25_first_name_kana = $contact25FirstNameKana;
return $this;
}
/**
* Get contact25FirstNameKana
*
* @return string|null
*/
public function getContact25FirstNameKana()
{
return $this->contact25_first_name_kana;
}
/**
* Set contact25Email
*
* @param string|null $contact25Email
*
* @return Customer
*/
public function setContact25Email($contact25Email = null)
{
$this->contact25_email = $contact25Email;
return $this;
}
/**
* Get contact25Email
*
* @return string|null
*/
public function getContact25Email()
{
return $this->contact25_email;
}
/**
* Set contact25Phone
*
* @param string|null $contact25Phone
*
* @return Customer
*/
public function setContact25Phone($contact25Phone = null)
{
$this->contact25_phone = $contact25Phone;
return $this;
}
/**
* Get contact25Phone
*
* @return string|null
*/
public function getContact25Phone()
{
return $this->contact25_phone;
}
/**
* Set contact26LastName
*
* @param string|null $contact26LastName
*
* @return Customer
*/
public function setContact26LastName($contact26LastName = null)
{
$this->contact26_last_name = $contact26LastName;
return $this;
}
/**
* Get contact26LastName
*
* @return string|null
*/
public function getContact26LastName()
{
return $this->contact26_last_name;
}
/**
* Set contact26FirstName
*
* @param string|null $contact26FirstName
*
* @return Customer
*/
public function setContact26FirstName($contact26FirstName = null)
{
$this->contact26_first_name = $contact26FirstName;
return $this;
}
/**
* Get contact26FirstName
*
* @return string|null
*/
public function getContact26FirstName()
{
return $this->contact26_first_name;
}
/**
* Set contact26LastNameKana
*
* @param string|null $contact26LastNameKana
*
* @return Customer
*/
public function setContact26LastNameKana($contact26LastNameKana = null)
{
$this->contact26_last_name_kana = $contact26LastNameKana;
return $this;
}
/**
* Get contact26LastNameKana
*
* @return string|null
*/
public function getContact26LastNameKana()
{
return $this->contact26_last_name_kana;
}
/**
* Set contact26FirstNameKana
*
* @param string|null $contact26FirstNameKana
*
* @return Customer
*/
public function setContact26FirstNameKana($contact26FirstNameKana = null)
{
$this->contact26_first_name_kana = $contact26FirstNameKana;
return $this;
}
/**
* Get contact26FirstNameKana
*
* @return string|null
*/
public function getContact26FirstNameKana()
{
return $this->contact26_first_name_kana;
}
/**
* Set contact26Email
*
* @param string|null $contact26Email
*
* @return Customer
*/
public function setContact26Email($contact26Email = null)
{
$this->contact26_email = $contact26Email;
return $this;
}
/**
* Get contact26Email
*
* @return string|null
*/
public function getContact26Email()
{
return $this->contact26_email;
}
/**
* Set contact26Phone
*
* @param string|null $contact26Phone
*
* @return Customer
*/
public function setContact26Phone($contact26Phone = null)
{
$this->contact26_phone = $contact26Phone;
return $this;
}
/**
* Get contact26Phone
*
* @return string|null
*/
public function getContact26Phone()
{
return $this->contact26_phone;
}
/**
* Set contact27LastName
*
* @param string|null $contact27LastName
*
* @return Customer
*/
public function setContact27LastName($contact27LastName = null)
{
$this->contact27_last_name = $contact27LastName;
return $this;
}
/**
* Get contact27LastName
*
* @return string|null
*/
public function getContact27LastName()
{
return $this->contact27_last_name;
}
/**
* Set contact27FirstName
*
* @param string|null $contact27FirstName
*
* @return Customer
*/
public function setContact27FirstName($contact27FirstName = null)
{
$this->contact27_first_name = $contact27FirstName;
return $this;
}
/**
* Get contact27FirstName
*
* @return string|null
*/
public function getContact27FirstName()
{
return $this->contact27_first_name;
}
/**
* Set contact27LastNameKana
*
* @param string|null $contact27LastNameKana
*
* @return Customer
*/
public function setContact27LastNameKana($contact27LastNameKana = null)
{
$this->contact27_last_name_kana = $contact27LastNameKana;
return $this;
}
/**
* Get contact27LastNameKana
*
* @return string|null
*/
public function getContact27LastNameKana()
{
return $this->contact27_last_name_kana;
}
/**
* Set contact27FirstNameKana
*
* @param string|null $contact27FirstNameKana
*
* @return Customer
*/
public function setContact27FirstNameKana($contact27FirstNameKana = null)
{
$this->contact27_first_name_kana = $contact27FirstNameKana;
return $this;
}
/**
* Get contact27FirstNameKana
*
* @return string|null
*/
public function getContact27FirstNameKana()
{
return $this->contact27_first_name_kana;
}
/**
* Set contact27Email
*
* @param string|null $contact27Email
*
* @return Customer
*/
public function setContact27Email($contact27Email = null)
{
$this->contact27_email = $contact27Email;
return $this;
}
/**
* Get contact27Email
*
* @return string|null
*/
public function getContact27Email()
{
return $this->contact27_email;
}
/**
* Set contact27Phone
*
* @param string|null $contact27Phone
*
* @return Customer
*/
public function setContact27Phone($contact27Phone = null)
{
$this->contact27_phone = $contact27Phone;
return $this;
}
/**
* Get contact27Phone
*
* @return string|null
*/
public function getContact27Phone()
{
return $this->contact27_phone;
}
/**
* Set contact28LastName
*
* @param string|null $contact28LastName
*
* @return Customer
*/
public function setContact28LastName($contact28LastName = null)
{
$this->contact28_last_name = $contact28LastName;
return $this;
}
/**
* Get contact28LastName
*
* @return string|null
*/
public function getContact28LastName()
{
return $this->contact28_last_name;
}
/**
* Set contact28FirstName
*
* @param string|null $contact28FirstName
*
* @return Customer
*/
public function setContact28FirstName($contact28FirstName = null)
{
$this->contact28_first_name = $contact28FirstName;
return $this;
}
/**
* Get contact28FirstName
*
* @return string|null
*/
public function getContact28FirstName()
{
return $this->contact28_first_name;
}
/**
* Set contact28LastNameKana
*
* @param string|null $contact28LastNameKana
*
* @return Customer
*/
public function setContact28LastNameKana($contact28LastNameKana = null)
{
$this->contact28_last_name_kana = $contact28LastNameKana;
return $this;
}
/**
* Get contact28LastNameKana
*
* @return string|null
*/
public function getContact28LastNameKana()
{
return $this->contact28_last_name_kana;
}
/**
* Set contact28FirstNameKana
*
* @param string|null $contact28FirstNameKana
*
* @return Customer
*/
public function setContact28FirstNameKana($contact28FirstNameKana = null)
{
$this->contact28_first_name_kana = $contact28FirstNameKana;
return $this;
}
/**
* Get contact28FirstNameKana
*
* @return string|null
*/
public function getContact28FirstNameKana()
{
return $this->contact28_first_name_kana;
}
/**
* Set contact28Email
*
* @param string|null $contact28Email
*
* @return Customer
*/
public function setContact28Email($contact28Email = null)
{
$this->contact28_email = $contact28Email;
return $this;
}
/**
* Get contact28Email
*
* @return string|null
*/
public function getContact28Email()
{
return $this->contact28_email;
}
/**
* Set contact28Phone
*
* @param string|null $contact28Phone
*
* @return Customer
*/
public function setContact28Phone($contact28Phone = null)
{
$this->contact28_phone = $contact28Phone;
return $this;
}
/**
* Get contact28Phone
*
* @return string|null
*/
public function getContact28Phone()
{
return $this->contact28_phone;
}
/**
* Set contact29LastName
*
* @param string|null $contact29LastName
*
* @return Customer
*/
public function setContact29LastName($contact29LastName = null)
{
$this->contact29_last_name = $contact29LastName;
return $this;
}
/**
* Get contact29LastName
*
* @return string|null
*/
public function getContact29LastName()
{
return $this->contact29_last_name;
}
/**
* Set contact29FirstName
*
* @param string|null $contact29FirstName
*
* @return Customer
*/
public function setContact29FirstName($contact29FirstName = null)
{
$this->contact29_first_name = $contact29FirstName;
return $this;
}
/**
* Get contact29FirstName
*
* @return string|null
*/
public function getContact29FirstName()
{
return $this->contact29_first_name;
}
/**
* Set contact29LastNameKana
*
* @param string|null $contact29LastNameKana
*
* @return Customer
*/
public function setContact29LastNameKana($contact29LastNameKana = null)
{
$this->contact29_last_name_kana = $contact29LastNameKana;
return $this;
}
/**
* Get contact29LastNameKana
*
* @return string|null
*/
public function getContact29LastNameKana()
{
return $this->contact29_last_name_kana;
}
/**
* Set contact29FirstNameKana
*
* @param string|null $contact29FirstNameKana
*
* @return Customer
*/
public function setContact29FirstNameKana($contact29FirstNameKana = null)
{
$this->contact29_first_name_kana = $contact29FirstNameKana;
return $this;
}
/**
* Get contact29FirstNameKana
*
* @return string|null
*/
public function getContact29FirstNameKana()
{
return $this->contact29_first_name_kana;
}
/**
* Set contact29Email
*
* @param string|null $contact29Email
*
* @return Customer
*/
public function setContact29Email($contact29Email = null)
{
$this->contact29_email = $contact29Email;
return $this;
}
/**
* Get contact29Email
*
* @return string|null
*/
public function getContact29Email()
{
return $this->contact29_email;
}
/**
* Set contact29Phone
*
* @param string|null $contact29Phone
*
* @return Customer
*/
public function setContact29Phone($contact29Phone = null)
{
$this->contact29_phone = $contact29Phone;
return $this;
}
/**
* Get contact29Phone
*
* @return string|null
*/
public function getContact29Phone()
{
return $this->contact29_phone;
}
/**
* Set contact30LastName
*
* @param string|null $contact30LastName
*
* @return Customer
*/
public function setContact30LastName($contact30LastName = null)
{
$this->contact30_last_name = $contact30LastName;
return $this;
}
/**
* Get contact30LastName
*
* @return string|null
*/
public function getContact30LastName()
{
return $this->contact30_last_name;
}
/**
* Set contact30FirstName
*
* @param string|null $contact30FirstName
*
* @return Customer
*/
public function setContact30FirstName($contact30FirstName = null)
{
$this->contact30_first_name = $contact30FirstName;
return $this;
}
/**
* Get contact30FirstName
*
* @return string|null
*/
public function getContact30FirstName()
{
return $this->contact30_first_name;
}
/**
* Set contact30LastNameKana
*
* @param string|null $contact30LastNameKana
*
* @return Customer
*/
public function setContact30LastNameKana($contact30LastNameKana = null)
{
$this->contact30_last_name_kana = $contact30LastNameKana;
return $this;
}
/**
* Get contact30LastNameKana
*
* @return string|null
*/
public function getContact30LastNameKana()
{
return $this->contact30_last_name_kana;
}
/**
* Set contact30FirstNameKana
*
* @param string|null $contact30FirstNameKana
*
* @return Customer
*/
public function setContact30FirstNameKana($contact30FirstNameKana = null)
{
$this->contact30_first_name_kana = $contact30FirstNameKana;
return $this;
}
/**
* Get contact30FirstNameKana
*
* @return string|null
*/
public function getContact30FirstNameKana()
{
return $this->contact30_first_name_kana;
}
/**
* Set contact30Email
*
* @param string|null $contact30Email
*
* @return Customer
*/
public function setContact30Email($contact30Email = null)
{
$this->contact30_email = $contact30Email;
return $this;
}
/**
* Get contact30Email
*
* @return string|null
*/
public function getContact30Email()
{
return $this->contact30_email;
}
/**
* Set contact30Phone
*
* @param string|null $contact30Phone
*
* @return Customer
*/
public function setContact30Phone($contact30Phone = null)
{
$this->contact30_phone = $contact30Phone;
return $this;
}
/**
* Get contact30Phone
*
* @return string|null
*/
public function getContact30Phone()
{
return $this->contact30_phone;
}
/**
* Set AmountCredit
*
* @param int|null $amount_credit
*
* @return Customer
*/
public function setAmountCredit($amount_credit = null)
{
$this->amount_credit = $amount_credit;
return $this;
}
/**
* Get AmountCredit
*
* @return int|null
*/
public function getAmountCredit()
{
return $this->amount_credit;
}
/**
* String representation of object
*
* @see http://php.net/manual/en/serializable.serialize.php
*
* @return string the string representation of the object or null
*
* @since 5.1.0
*/
public function serialize()
{
// see https://symfony.com/doc/2.7/security/entity_provider.html#create-your-user-entity
// CustomerRepository::loadUserByUsername() で Status をチェックしているため、ここでは不要
return serialize([
$this->id,
$this->email,
$this->password,
$this->salt,
]);
}
/**
* Constructs the object
*
* @see http://php.net/manual/en/serializable.unserialize.php
*
* @param string $serialized <p>
* The string representation of the object.
* </p>
*
* @return void
*
* @since 5.1.0
*/
public function unserialize($serialized)
{
list(
$this->id,
$this->email,
$this->password,
$this->salt) = unserialize($serialized);
}
public function getFullNameWithKana()
{
$fullNameKanaList = [];
$fullNameKanaList["contact0"] = "{$this->name02}/{$this->kana02}";
for ($i = 1; $i <= 30; $i++) {
$lastNameField = "contact{$i}_last_name";
$firstNameField = "contact{$i}_first_name";
$lastNameKanaField = "contact{$i}_last_name_kana";
$firstNameKanaField = "contact{$i}_first_name_kana";
if ($this->$lastNameField && $this->$firstNameField && $this->$lastNameKanaField && $this->$firstNameKanaField) {
$fullNameKanaList["contact{$i}"] = "{$this->$lastNameField}{$this->$firstNameField}/{$this->$lastNameKanaField}{$this->$firstNameKanaField}";
}
}
return $fullNameKanaList;
}
/**
* @ORM\ManyToOne(targetEntity="Eccube\Entity\MemberRank")
* @ORM\JoinColumn(name="rank_id", referencedColumnName="rank_id")
*/
private $rank;
public function getRank(): ?MemberRank
{
return $this->rank;
}
public function setRank(?MemberRank $rank): self
{
$this->rank = $rank;
return $this;
}
}