class Veritrans::Tercerog::Mdk::AbstractPayNowIdRequestDto

PayNowIDリクエストDTOの親クラス

@author

VeriTrans Inc.

Public Instance Methods

account_id() click to toggle source

会員IDを取得する

@return

会員ID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 44
def account_id
  exist_account_param
  return pay_now_id_param.account_param.account_id
end
account_id=(account_id) click to toggle source

会員IDを設定する

会員IDを指定します。

@param

#account_id 会員ID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 54
def account_id=(account_id)
  exist_account_param
  pay_now_id_param.account_param.account_id = account_id
end
account_manage_type() click to toggle source

口座管理方式を取得する

@return

口座管理方式

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 682
def account_manage_type
  exist_bank_account_param
  return pay_now_id_param.account_param.bank_account_param.account_manage_type
end
account_manage_type=(account_manage_type) click to toggle source

口座管理方式を設定する

口座管理方式を指定します。

@param

#account_manage_type 口座管理方式

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 692
def account_manage_type=(account_manage_type)
  exist_bank_account_param
  pay_now_id_param.account_param.bank_account_param.account_manage_type = account_manage_type
end
account_number() click to toggle source

口座番号を取得する

@return

口座番号

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 663
def account_number
  exist_bank_account_param
  return pay_now_id_param.account_param.bank_account_param.account_number
end
account_number=(account_number) click to toggle source

口座番号を設定する

口座番号を指定します。

@param

#account_number 口座番号

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 673
def account_number=(account_number)
  exist_bank_account_param
  pay_now_id_param.account_param.bank_account_param.account_number = account_number
end
account_type() click to toggle source

口座種別を取得する

@return

口座種別

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 644
def account_type
  exist_bank_account_param
  return pay_now_id_param.account_param.bank_account_param.account_type
end
account_type=(account_type) click to toggle source

口座種別を設定する

口座種別を指定します。

@param

#account_type 口座種別

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 654
def account_type=(account_type)
  exist_bank_account_param
  pay_now_id_param.account_param.bank_account_param.account_type = account_type
end
acquire_code() click to toggle source

仕向先会社コードを取得する

@return

仕向先会社コード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 574
def acquire_code
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.acquire_code

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.acquire_code
  end
end
acquire_code=(acquire_code) click to toggle source

仕向先会社コードを設定する

仕向先会社コードを指定します。

@param

#acquire_code 仕向先会社コード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 591
def acquire_code=(acquire_code)
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.acquire_code = acquire_code

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.acquire_code = acquire_code
  end
end
amount() click to toggle source

継続課金金額を取得する

@return

継続課金金額

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 508
def amount
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.amount

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.amount
  end
end
amount=(amount) click to toggle source

継続課金金額を設定する

継続課金金額を指定します。

@param

amount 継続課金金額

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 525
def amount=(amount)
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.amount = amount

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.amount = amount
  end
end
bank_code() click to toggle source

金融機関コードを取得する

@return

金融機関コード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 607
def bank_code
  exist_bank_account_param
  return pay_now_id_param.account_param.bank_account_param.bank_code
end
bank_code=(bank_code) click to toggle source

金融機関コードを設定する

金融機関コードを指定します。

@param

#bank_code 金融機関コード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 617
def bank_code=(bank_code)
  exist_bank_account_param
  pay_now_id_param.account_param.bank_account_param.bank_code = bank_code
end
branch_code() click to toggle source

支店コードを取得する

@return

支店コード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 626
def branch_code
  exist_bank_account_param
  return pay_now_id_param.account_param.bank_account_param.branch_code
end
branch_code=(branch_code) click to toggle source

支店コードを設定する

支店コードを指定します。

@param

#branch_code 支店コード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 636
def branch_code=(branch_code)
  exist_bank_account_param
  pay_now_id_param.account_param.bank_account_param.branch_code = branch_code
end
card_expire() click to toggle source

有効期限を取得する

@return

有効期限

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 272
def card_expire
  exist_card_param
  return pay_now_id_param.account_param.card_param.card_expire
end
card_expire=(card_expire) click to toggle source

有効期限を設定する

有効期限を指定します。

@param

#card_expire 有効期限

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 282
def card_expire=(card_expire)
  exist_card_param
  pay_now_id_param.account_param.card_param.card_expire = card_expire
end
card_id() click to toggle source

カードIDを取得する

@return

カードID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 158
def card_id
  exist_card_param
  return pay_now_id_param.account_param.card_param.card_id
end
card_id=(card_id) click to toggle source

カードIDを設定する

カードIDを指定します。

@param

#card_id カードID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 168
def card_id=(card_id)
  exist_card_param
  pay_now_id_param.account_param.card_param.card_id = card_id
end
card_number() click to toggle source

カード番号を取得する

@return

カード番号

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 253
def card_number
  exist_card_param
  return pay_now_id_param.account_param.card_param.card_number
end
card_number=(card_number) click to toggle source

カード番号を設定する

カード番号を指定します。

@param

#card_number カード番号

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 263
def card_number=(card_number)
  exist_card_param
  pay_now_id_param.account_param.card_param.card_number = card_number
end
charge_type() click to toggle source

課金日取扱区分を取得する

@return

課金日取扱区分

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 758
def charge_type
  exist_charge_param
  pay_now_id_param.charge_param.charge_type
end
charge_type=(charge_type) click to toggle source

課金日取扱区分を設定する

課金日取扱区分を指定します。

@param

#charge_type 課金日取扱区分

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 768
def charge_type=(charge_type)
  exist_charge_param
  pay_now_id_param.charge_param.charge_type = charge_type
end
create_date() click to toggle source

入会年月日を取得する

@return

入会年月日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 101
def create_date
  exist_account_basic_param
  return pay_now_id_param.account_param.account_basic_param.create_date
end
create_date=(create_date) click to toggle source

入会年月日を設定する

入会年月日を指定します。

@param

#create_date 入会年月日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 111
def create_date=(create_date)
  exist_account_basic_param
  pay_now_id_param.account_param.account_basic_param.create_date = create_date
end
default_card() click to toggle source

標準カードフラグを取得する

@return

標準カードフラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 177
def default_card
  exist_card_param
  return pay_now_id_param.account_param.card_param.default_card
end
default_card=(default_card) click to toggle source

標準カードフラグを設定する

標準カードフラグを指定します。

@param

#default_card 標準カードフラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 187
def default_card=(default_card)
  exist_card_param
  pay_now_id_param.account_param.card_param.default_card = default_card
end
default_card_id() click to toggle source

標準カードIDを取得する

@return

標準カードID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 196
def default_card_id
  exist_card_param
  return pay_now_id_param.account_param.card_param.default_card_id
end
default_card_id=(default_card_id) click to toggle source

標準カードIDを設定する

標準カードIDを指定します。

@param

#default_card_id 標準カードID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 206
def default_card_id=(default_card_id)
  exist_card_param
  pay_now_id_param.account_param.card_param.default_card_id = default_card_id
end
delete_date() click to toggle source

退会年月日を取得する

@return

退会年月日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 120
def delete_date
  exist_account_basic_param
  return pay_now_id_param.account_param.account_basic_param.delete_date
end
delete_date=(delete_date) click to toggle source

退会年月日を設定する

退会年月日を指定します。

@param

#delete_date 退会年月日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 130
def delete_date=(delete_date)
  exist_account_basic_param
  pay_now_id_param.account_param.account_basic_param.delete_date = delete_date
end
end_date() click to toggle source

課金終了日を取得する

@return

課金終了日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 361
def end_date
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.end_date
end
end_date=(end_date) click to toggle source

課金終了日を設定する

終了開始日を指定します。

@param

#end_date 課金終了日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 371
def end_date=(end_date)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.end_date = end_date
end
final_charge() click to toggle source

次回課金終了フラグを取得する

@return

次回課金終了フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 380
def final_charge
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.final_charge
end
final_charge=(final_charge) click to toggle source

次回課金終了フラグを設定する

次回課金終了フラグを指定します。

@param

#final_charge 次回課金終了フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 390
def final_charge=(final_charge)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.final_charge = final_charge
end
force_delete_date() click to toggle source

強制退会フラグを取得する

@return

強制退会フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 139
def force_delete_date
  exist_account_basic_param
  return pay_now_id_param.account_param.account_basic_param.force_delete_date
end
force_delete_date=(force_delete_date) click to toggle source

強制退会フラグを設定する

強制退会フラグを指定します。

@param

#force_delete_date 強制退会フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 149
def force_delete_date=(force_delete_date)
  exist_account_basic_param
  pay_now_id_param.account_param.account_basic_param.force_delete_date = force_delete_date
end
group_id() click to toggle source

課金グループIDを取得する

@return

課金グループID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 309
def group_id
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.group_id

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.group_id
  end
end
group_id=(group_id) click to toggle source

課金グループIDを設定する

課金グループIDを指定します。

@param

#group_id 課金グループID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 326
def group_id=(group_id)
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.group_id = group_id

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.group_id = group_id
  end
end
group_name() click to toggle source

課金グループ名を取得する

@return

課金グループ名

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 720
def group_name
  exist_charge_param
  pay_now_id_param.charge_param.group_name
end
group_name=(group_name) click to toggle source

課金グループ名を設定する

課金グループ名を指定します。

@param

#group_name 課金グループ名

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 730
def group_name=(group_name)
  exist_charge_param
  pay_now_id_param.charge_param.group_name = group_name
end
one_time_amount() click to toggle source

都度/初回課金金額を取得する

@return

都度/初回課金金額

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 475
def one_time_amount
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.one_time_amount

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.one_time_amount
  end
end
one_time_amount=(one_time_amount) click to toggle source

都度/初回課金金額を設定する

都度/初回課金金額を指定します。

@param

#one_time_amount 都度/初回課金金額

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 492
def one_time_amount=(one_time_amount)
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.one_time_amount = one_time_amount

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.one_time_amount = one_time_amount
  end
end
pay_now_id() click to toggle source

PayNowIDを取得する

@return

PayNowID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 63
def pay_now_id
  exist_account_param
  return pay_now_id_param.account_param.pay_now_id
end
pay_now_id=(pay_now_id) click to toggle source

PayNowIDを設定する

PayNowIDを指定します。

@param

#pay_now_id PayNowID

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 73
def pay_now_id=(pay_now_id)
  exist_account_param
  pay_now_id_param.account_param.pay_now_id = pay_now_id
end
recurring_memo1() click to toggle source

継続課金用メモ1を取得する

@return

継続課金用メモ1

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 399
def recurring_memo1
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.recurring_memo1
end
recurring_memo1=(recurring_memo1) click to toggle source

継続課金用メモ1を設定する

継続課金用メモ1を指定します。

@param

#recurring_memo1 継続課金用メモ1

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 409
def recurring_memo1=(recurring_memo1)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.recurring_memo1 = recurring_memo1
end
recurring_memo2() click to toggle source

継続課金用メモ2を取得する

@return

継続課金用メモ2

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 418
def recurring_memo2
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.recurring_memo2
end
recurring_memo2=(recurring_memo2) click to toggle source

継続課金用メモ2を設定する

継続課金用メモ2を指定します。

@param

#recurring_memo2 継続課金用メモ2

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 428
def recurring_memo2=(recurring_memo2)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.recurring_memo2 = recurring_memo2
end
recurring_memo3() click to toggle source

継続課金用メモ3を取得する

@return

継続課金用メモ3

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 437
def recurring_memo3
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.recurring_memo3
end
recurring_memo3=(recurring_memo3) click to toggle source

継続課金用メモ3を設定する

継続課金用メモ3を指定します。

@param

#recurring_memo3 継続課金用メモ3

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 447
def recurring_memo3=(recurring_memo3)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.recurring_memo3 = recurring_memo3
end
reject_bank_account() click to toggle source

銀行口座関連付け拒否フラグを取得する

@return

銀行口座関連付け拒否フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 701
def reject_bank_account
  exist_bank_account_param
  return pay_now_id_param.account_param.bank_account_param.reject_bank_account
end
reject_bank_account=(reject_bank_account) click to toggle source

銀行口座関連付け拒否フラグを設定する

銀行口座関連付け拒否フラグを指定します。

@param

#reject_bank_account 銀行口座関連付け拒否フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 711
def reject_bank_account=(reject_bank_account)
  exist_bank_account_param
  pay_now_id_param.account_param.bank_account_param.reject_bank_account = reject_bank_account
end
sales_day() click to toggle source

売上日を取得する

@return

売上日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 541
def sales_day
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.sales_day

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.sales_day
  end
end
sales_day=(sales_day) click to toggle source

売上日を設定する

売上日を指定します。

@param

#sales_day 売上日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 558
def sales_day=(sales_day)
  if self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_ACCOUNT            || self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_RECURRING
    exist_recurring_charge_param
    pay_now_id_param.account_param.recurring_charge_param.sales_day = sales_day

  elsif self.service_type == Veritrans::Tercerog::Mdk::PayNowIdConstants::SERVICE_TYPE_CHARGE
    exist_charge_param
    pay_now_id_param.charge_param.sales_day = sales_day
  end
end
schedule() click to toggle source

継続課金スケジュールを取得する

@return

継続課金スケジュール

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 777
def schedule
  exist_charge_param
  pay_now_id_param.charge_param.schedule
end
schedule=(schedule) click to toggle source

継続課金スケジュールを設定する

継続課金スケジュールを指定します。

@param

schedule 継続課金スケジュール

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 787
def schedule=(schedule)
  exist_charge_param
  pay_now_id_param.charge_param.schedule = schedule
end
security_code() click to toggle source

セキュリティコードを取得する

@return

セキュリティコード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 215
def security_code
  exist_card_param
  return pay_now_id_param.account_param.card_param.security_code
end
security_code=(security_code) click to toggle source

セキュリティコードを設定する

セキュリティコードを指定します。

@param

#security_code セキュリティコード

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 225
def security_code=(security_code)
  exist_card_param
  pay_now_id_param.account_param.card_param.security_code = security_code
end
service_command() click to toggle source

決済サービスコマンドを取得する

@return

決済サービスコマンド

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 35
def service_command
  @service_command = nil unless instance_variable_defined?(:@service_command)
  @service_command
end
service_type() click to toggle source

決済サービスタイプを取得する

@return

決済サービスタイプ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 26
def service_type
  @service_type = nil unless instance_variable_defined?(:@service_type)
  @service_type
end
start_date() click to toggle source

課金開始日を取得する

@return

課金開始日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 342
def start_date
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.start_date
end
start_date=(start_date) click to toggle source

課金開始日を設定する

課金開始日を指定します。

@param

#start_date 課金開始日

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 352
def start_date=(start_date)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.start_date = start_date
end
tanking() click to toggle source

タンキングフラグを取得する

@return

タンキングフラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 796
def tanking
  pay_now_id_param.tanking
end
tanking=(tanking) click to toggle source

タンキングフラグを設定する

タンキングフラグを指定します。

@param

tanking タンキングフラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 805
def tanking=(tanking)
  pay_now_id_param.tanking = tanking
end
token() click to toggle source

トークンを取得する

@return

トークン

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 291
def token
  exist_card_param
  pay_now_id_param.account_param.card_param.token
end
token=(token) click to toggle source

トークンを設定する

@param

token トークン

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 300
def token=(token)
  exist_card_param
  pay_now_id_param.account_param.card_param.token = token
end
trans_data() click to toggle source

リクエスト項目を取得する

@return

リクエスト項目

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 82
def trans_data
  exist_account_param
  return pay_now_id_param.account_param.trans_data
end
trans_data=(trans_data) click to toggle source

リクエスト項目を設定する

リクエスト項目を指定します。

@param

#trans_data リクエスト項目

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 92
def trans_data=(trans_data)
  exist_account_param
  pay_now_id_param.account_param.trans_data = trans_data
end
type() click to toggle source

課金スタイル区分を取得する

@return

課金スタイル区分

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 739
def type
  exist_charge_param
  pay_now_id_param.charge_param.type
end
type=(type) click to toggle source

課金スタイル区分を設定する

課金スタイル区分を指定します。

@param

type 課金スタイル区分

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 749
def type=(type)
  exist_charge_param
  pay_now_id_param.charge_param.type = type
end
updater() click to toggle source

洗替実施フラグを取得する

@return

洗替実施フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 234
def updater
  exist_card_param
  return pay_now_id_param.account_param.card_param.updater
end
updater=(updater) click to toggle source

洗替実施フラグを設定する

洗替実施フラグを指定します。

@param

updater 洗替実施フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 244
def updater=(updater)
  exist_card_param
  pay_now_id_param.account_param.card_param.updater = updater
end
use_charge_option() click to toggle source

課金オプション利用フラグを取得する

@return

課金オプション利用フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 456
def use_charge_option
  exist_recurring_charge_param
  return pay_now_id_param.account_param.recurring_charge_param.use_charge_option
end
use_charge_option=(use_charge_option) click to toggle source

課金オプション利用フラグを設定する

課金オプション利用フラグを指定します。

@param

#use_charge_option 課金オプション利用フラグ

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 466
def use_charge_option=(use_charge_option)
  exist_recurring_charge_param
  pay_now_id_param.account_param.recurring_charge_param.use_charge_option = use_charge_option
end

Private Instance Methods

exist_account_basic_param() click to toggle source

account_basic_paramが設定されているか判定する

account_basic_paramが設定されているか判定します。 設定されていない場合はインスタンスを生成し、account_paramに設定します。

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 850
def exist_account_basic_param
  exist_account_param
  if pay_now_id_param.account_param.account_basic_param.nil?
    pay_now_id_param.account_param.account_basic_param = AccountBasicParam.new
  end
end
exist_account_param() click to toggle source

account_paramが設定されているか判定する

account_paramが設定されているか判定します。 設定されていない場合はインスタンスを生成し、pay_now_id_paramに設定します。

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 828
def exist_account_param
  if pay_now_id_param.account_param.nil?
    pay_now_id_param.account_param = AccountParam.new
  end
end
exist_bank_account_param() click to toggle source

bank_account_paramが設定されているか判定する

bank_account_paramが設定されているか判定します。 設定されていない場合はインスタンスを生成し、account_paramに設定します。

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 886
def exist_bank_account_param
  exist_account_param
  if pay_now_id_param.account_param.bank_account_param.nil?
    pay_now_id_param.account_param.bank_account_param = BankAccountParam.new
  end
end
exist_card_param() click to toggle source

card_paramが設定されているか判定する

card_paramが設定されているか判定します。 設定されていない場合はインスタンスを生成し、account_paramに設定します。

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 862
def exist_card_param
  exist_account_param
  if pay_now_id_param.account_param.card_param.nil?
    pay_now_id_param.account_param.card_param = CardParam.new
  end
end
exist_charge_param() click to toggle source

charge_paramが設定されているか判定する

charge_paramが設定されているか判定します。 設定されていない場合はインスタンスを生成し、pay_now_id_paramに設定します。

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 839
def exist_charge_param
  if pay_now_id_param.charge_param.nil?
    pay_now_id_param.charge_param = ChargeParam.new
  end
end
exist_recurring_charge_param() click to toggle source

recurring_charge_paramが設定されているか判定する

recurring_charge_paramが設定されているか判定します。 設定されていない場合はインスタンスを生成し、account_paramに設定します。

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 874
def exist_recurring_charge_param
  exist_account_param
  if pay_now_id_param.account_param.recurring_charge_param.nil?
    pay_now_id_param.account_param.recurring_charge_param = RecurringChargeParam.new
  end
end
pay_now_id_param() click to toggle source

PayNowIdParamを取得する

@return

PayNowIdParam

# File tgMdk/lib/tg_mdk/mdk_dto/abstract_pay_now_id_request_dto.rb, line 815
def pay_now_id_param
  @pay_now_id_param = nil unless instance_variable_defined?(:@pay_now_id_param)
  if @pay_now_id_param.nil?
    @pay_now_id_param = PayNowIdParam.new
  end
  return @pay_now_id_param
end