Sha256: 4377778651e9062c61be8445140898ed25c736af0f2b74609b11f9cb495d78cd

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

# DO NOT EDIT: File is generated by code generator.

require "pokepay_partner_ruby_sdk/response/user"
require "pokepay_partner_ruby_sdk/response/private_money"

module Pokepay::Response
  class Campaign
    def initialize(row)
      @id = row["id"]
      @name = row["name"]
      @applicable_shops = row["applicable_shops"]
      @is_exclusive = row["is_exclusive"]
      @starts_at = row["starts_at"]
      @ends_at = row["ends_at"]
      @point_expires_at = row["point_expires_at"]
      @point_expires_in_days = row["point_expires_in_days"]
      @priority = row["priority"]
      @description = row["description"]
      @bear_point_shop = User.new(row["bear_point_shop"])
      @private_money = PrivateMoney.new(row["private_money"])
      @point_calculation_rule = row["point_calculation_rule"]
      @point_calculation_rule_object = row["point_calculation_rule_object"]
      @status = row["status"]
    end
    attr_reader :id
    attr_reader :name
    attr_reader :applicable_shops
    attr_reader :is_exclusive
    attr_reader :starts_at
    attr_reader :ends_at
    attr_reader :point_expires_at
    attr_reader :point_expires_in_days
    attr_reader :priority
    attr_reader :description
    attr_reader :bear_point_shop
    attr_reader :private_money
    attr_reader :point_calculation_rule
    attr_reader :point_calculation_rule_object
    attr_reader :status
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pokepay_partner_ruby_sdk-0.1.18 lib/pokepay_partner_ruby_sdk/response/campaign.rb