class PayjpMock::Response::Resource::Plan

Constants

OBJECT
PREFIX

Public Instance Methods

default_attributes() click to toggle source
# File lib/payjp_mock/response/resource/plan.rb, line 7
def default_attributes
  {
    amount:      500,
    billing_day: nil,
    created:     Time.now.to_i,
    currency:    'jpy',
    id:          generate_resource_id(PREFIX),
    interval:    'month',
    livemode:    false,
    metadata:    nil,
    name:        nil,
    object:      OBJECT,
    trial_days:  30
  }
end