createPromotionRemovalRequest function

PromotionRemovalRequest createPromotionRemovalRequest (
  1. {@required String targetCardId,
  2. @required String targetPromotionId}
)

Implementation

PromotionRemovalRequest createPromotionRemovalRequest({
  @required String targetCardId,
  @required String targetPromotionId,
}) {
  PromotionRemovalRequest req = PromotionRemovalRequest.create();
  req.targetCardId = targetCardId;
  req.targetPromotionId = targetPromotionId;
  return req;
}