com.foxinmy.weixin4j.tuple
Class Card

java.lang.Object
  extended by com.foxinmy.weixin4j.tuple.Card
All Implemented Interfaces:
MassTuple, NotifyTuple, Tuple, Serializable

public class Card
extends Object
implements MassTuple, NotifyTuple

卡券对象

可用于「群发消息」和「客服消息」

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:
, Serialized Form

Constructor Summary
Card(String cardId)
           
 
Method Summary
 String getCardId()
           
 String getMessageType()
          消息类型
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Card

public Card(String cardId)
Method Detail

getMessageType

public String getMessageType()
Description copied from interface: Tuple
消息类型

Specified by:
getMessageType in interface Tuple
Returns:

getCardId

public String getCardId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2017. All rights reserved.