Properties

$card_id

$card_id : 

Type

$logo_url

$logo_url : 

Type

$brand_name

$brand_name : 

Type

$code_type

$code_type : 

Type

$title

$title : 

Type

$sub_title

$sub_title : 

Type

$color

$color : 

Type

$notice

$notice : 

Type

$service_phone

$service_phone : 

Type

$description

$description : 

Type

$sku

$sku : 

Type

$date_info

$date_info : 

Type

$location_id_list

$location_id_list : 

Type

$get_limit

$get_limit : 

Type

$can_share

$can_share : 

Type

$can_give_friend

$can_give_friend : 

Type

$use_custom_code

$use_custom_code : 

Type

$bind_openid

$bind_openid : 

Type

$source

$source : 

Type

$status

$status : 

Type

$promotion_url_name

$promotion_url_name : 

Type

$promotion_url_sub_title

$promotion_url_sub_title : 

Type

$promotion_url

$promotion_url : 

Type

$custom_url_name

$custom_url_name : 

Type

$custom_url_sub_title

$custom_url_sub_title : 

Type

$custom_url

$custom_url : 

Type

$center_title

$center_title : 

Type

$center_sub_title

$center_sub_title : 

Type

$center_url

$center_url : 

Type

$need_push_on_view

$need_push_on_view : 

Type

$pay_info

$pay_info : 

Type

$get_custom_code_mode

$get_custom_code_mode : 

Type

$background_pic_url

$background_pic_url : 

Type

$supply_bonus

$supply_bonus : 

Type

$bonus_rule

$bonus_rule : 

Type

$supply_balance

$supply_balance : 

Type

$prerogative

$prerogative : 

Type

$auto_activate

$auto_activate : 

Type

$custom_field1

$custom_field1 : 

Type

$activate_url

$activate_url : 

Type

$wx_activate

$wx_activate : 

Type

$bonus_url

$bonus_url : 

Type

$balance_url

$balance_url : 

Type

$bonus_rules

$bonus_rules : 

Type

$balance_rules

$balance_rules : 

Type

$custom_cell1

$custom_cell1 : 

Type

$discount

$discount : 

Type

$bonus_cleared

$bonus_cleared : 

Type

$format_type

$format_type : 

Type

$grant_rate

$grant_rate : 

Type

$offset_rate

$offset_rate : 

Type

$offset_max

$offset_max : 

Type

$fields

$fields : 

Type

$grant

$grant : 

Type

$discount_type

$discount_type : 

Type

$nums_status

$nums_status : 

Type

$nums_text

$nums_text : 

Type

$times_status

$times_status : 

Type

$times_text

$times_text : 

Type

$params

$params : 

Type

$html

$html : 

Type

$types

$types : 

Type

$code_types

$code_types : 

Type

Methods

create()

create(  $type) 

Parameters

$type

setDateinfoRange()

setDateinfoRange(  $starttime,   $endtime) 

Parameters

$starttime
$endtime

setDateinfoFix()

setDateinfoFix(  $begin,   $term) 

Parameters

$begin
$term

setCodetype()

setCodetype(  $type) 

Parameters

$type

setLocation()

setLocation(  $location) 

Parameters

$location

setCenterMenu()

setCenterMenu(  $title,   $subtitle,   $url) 

Parameters

$title
$subtitle
$url

setCustomMenu()

setCustomMenu(  $title,   $subtitle,   $url) 

Parameters

$title
$subtitle
$url

setPromotionMenu()

setPromotionMenu(  $title,   $subtitle,   $url) 

Parameters

$title
$subtitle
$url

setQuantity()

setQuantity(  $quantity) 

Parameters

$quantity

validate()

validate() 

getCardData()

getCardData() 

getCardArray()

getCardArray() 

GetCardArray()

GetCardArray() 

getMemberCardUpdateArray()

getMemberCardUpdateArray() 

GetMemberCardArray()

GetMemberCardArray() 

setBonusRule()

setBonusRule(  $cost_money_unit,   $increase_bonus,   $max_increase_bonus,   $init_increase_bonus,   $cost_bonus_unit,   $reduce_money,   $least_money_to_use_bonus,   $max_reduce_bonus) 

Parameters

$cost_money_unit
$increase_bonus
$max_increase_bonus
$init_increase_bonus
$cost_bonus_unit
$reduce_money
$least_money_to_use_bonus
$max_reduce_bonus

setCustomCell()

setCustomCell(  $name,   $tips,   $url) 

Parameters

$name
$tips
$url

setCustomField()

setCustomField(  $name_type,   $url,   $num) 

Parameters

$name_type
$url
$num

getCardExtraData()

getCardExtraData() 

getBaseinfo()

getBaseinfo() 

getAdvinfo()

getAdvinfo()