コード例 #1
0
 protected override PlainRequest GetPlainCore()
 {
     return(new Plain
     {
         OrderId = OrderId,
         Amount = Money.Amount,
         Currency = Money.Currency.GetDescription(),
         Description = Description,
         Encoding = Encoding,
         LifeTime = LifeTime.ToPlatronTime(),
         Language = Language.GetDescription(),
         ResultUrl = ResultUrl?.AbsoluteUri,
         UserPhone = UserPhone,
         NeedUserPhoneNotification = NeedUserPhoneNotification.ToZeroOrOne(),
         UserContactEmail = UserContactEmail,
         NeedEmailNotification = NeedEmailNotification.ToZeroOrOne()
     });
 }