package com.red.circle.order.app.command.pay.app.strategy.notice;

import com.red.circle.component.pay.apple.ServerToServerNoticeCmd;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 指示订阅续订状态的更改 检查JSON响应中的auto_renew_status_change_date_ms和auto_renew_status
 *
 * @author pengliang on 2020/7/22
 */
@Slf4j
@Component("DID_CHANGE_RENEWAL_STATUS")
@RequiredArgsConstructor
public class DidChangeRenewalStatusStrategy implements AppleServerToServerStrategy {

  /**
   * 处理订阅类型发生修改，更新单据
   */
  @Override
  public void doOperation(ServerToServerNoticeCmd cmd) {
    log.warn("DID_CHANGE_RENEWAL_STATUS");
  }
}
