com.jfinal.weixin.sdk.msg.in.card

## 类 InUserGetCardEvent

- java.lang.Object
- - com.jfinal.weixin.sdk.msg.in.InMsg
  - - com.jfinal.weixin.sdk.msg.in.event.EventInMsg
    - - com.jfinal.weixin.sdk.msg.in.card.InUserGetCardEvent

- 所有已实现的接口:
    ICardMsgParse, Serializable

      public class InUserGetCardEvent
      extends EventInMsg
      implements ICardMsgParse

  领取事件推送
  作者:
    Dreamlu

         <xml>
         <ToUserName> <![CDATA[gh_fc0a06a20993]]> </ToUserName>
         <FromUserName> <![CDATA[oZI8Fj040-be6rlDohc6gkoPOQTQ]]> </FromUserName>
         <CreateTime>1472551036</CreateTime>
         <MsgType> <![CDATA[event]]> </MsgType>
         <Event> <![CDATA[user_get_card]]> </Event>
         <CardId> <![CDATA[pZI8Fjwsy5fVPRBeD78J4RmqVvBc]]> </CardId>
         <IsGiveByFriend>0</IsGiveByFriend>
         <UserCardCode> <![CDATA[226009850808]]> </UserCardCode>
         <FriendUserName> <![CDATA[]]> </FriendUserName>
         <OuterId>0</OuterId>
         <OldUserCardCode> <![CDATA[]]> </OldUserCardCode>
         <OuterStr> <![CDATA[12b]]> </OuterStr>
         <IsRestoreMemberCard>0</IsRestoreMemberCard>
         <IsRecommendByFriend>0</IsRecommendByFriend>
         </xml>

  另请参阅:
    序列化表格

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static String` | `EVENT`

    - ### 从类继承的字段 com.jfinal.weixin.sdk.msg.in.event.EventInMsg

      `event`

    - ### 从类继承的字段 com.jfinal.weixin.sdk.msg.in.InMsg

      `createTime, fromUserName, msgType, toUserName`

  - ### 构造器概要

    构造器
    构造器和说明
    `InUserGetCardEvent(String toUserName, String fromUserName, Integer createTime)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getCardId()`
    `String` | `getFriendUserName()`
    `String` | `getIsGiveByFriend()`
    `String` | `getIsRecommendByFriend()`
    `String` | `getIsRestoreMemberCard()`
    `String` | `getOldUserCardCode()`
    `String` | `getOuterId()`
    `String` | `getOuterStr()`
    `String` | `getUserCardCode()`
    `void` | `parse(XmlHelper xmlHelper)` 分而治之
    `void` | `setCardId(String cardId)`
    `void` | `setFriendUserName(String friendUserName)`
    `void` | `setIsGiveByFriend(String isGiveByFriend)`
    `void` | `setIsRecommendByFriend(String isRecommendByFriend)`
    `void` | `setIsRestoreMemberCard(String isRestoreMemberCard)`
    `void` | `setOldUserCardCode(String oldUserCardCode)`
    `void` | `setOuterId(String outerId)`
    `void` | `setOuterStr(String outerStr)`
    `void` | `setUserCardCode(String userCardCode)`

    - ### 从类继承的方法 com.jfinal.weixin.sdk.msg.in.event.EventInMsg

      `getEvent, setEvent`

    - ### 从类继承的方法 com.jfinal.weixin.sdk.msg.in.InMsg

      `getCreateTime, getFromUserName, getMsgType, getToUserName, setCreateTime, setFromUserName, setMsgType, setToUserName`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### EVENT

          public static final String EVENT

      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### InUserGetCardEvent

          public InUserGetCardEvent(String toUserName,
                                    String fromUserName,
                                    Integer createTime)

  - ### 方法详细资料

    - #### getCardId

          public String getCardId()

    - #### setCardId

          public void setCardId(String cardId)

    - #### getIsGiveByFriend

          public String getIsGiveByFriend()

    - #### setIsGiveByFriend

          public void setIsGiveByFriend(String isGiveByFriend)

    - #### getUserCardCode

          public String getUserCardCode()

    - #### setUserCardCode

          public void setUserCardCode(String userCardCode)

    - #### getOuterId

          public String getOuterId()

    - #### setOuterId

          public void setOuterId(String outerId)

    - #### getFriendUserName

          public String getFriendUserName()

    - #### setFriendUserName

          public void setFriendUserName(String friendUserName)

    - #### getOldUserCardCode

          public String getOldUserCardCode()

    - #### setOldUserCardCode

          public void setOldUserCardCode(String oldUserCardCode)

    - #### getOuterStr

          public String getOuterStr()

    - #### setOuterStr

          public void setOuterStr(String outerStr)

    - #### getIsRestoreMemberCard

          public String getIsRestoreMemberCard()

    - #### setIsRestoreMemberCard

          public void setIsRestoreMemberCard(String isRestoreMemberCard)

    - #### getIsRecommendByFriend

          public String getIsRecommendByFriend()

    - #### setIsRecommendByFriend

          public void setIsRecommendByFriend(String isRecommendByFriend)

    - #### parse

          public void parse(XmlHelper xmlHelper)

      从接口复制的说明: `ICardMsgParse`
      分而治之
      指定者:
        `parse` 在接口中 `ICardMsgParse`
      参数:
        `xmlHelper` - xml解析工具

Copyright © 2017. All rights reserved.