/// <summary> /// Returns the string presentation of the object /// </summary> /// <returns>String presentation of the object</returns> public override string ToString() { var sb = new StringBuilder(); sb.Append("class CreatePaymentLinkRequest {\n"); sb.Append(" AllowedPaymentMethods: ").Append(AllowedPaymentMethods.ToListString()).Append("\n"); sb.Append(" Amount: ").Append(Amount).Append("\n"); sb.Append(" ApplicationInfo: ").Append(ApplicationInfo).Append("\n"); sb.Append(" BillingAddress: ").Append(BillingAddress).Append("\n"); sb.Append(" BlockedPaymentMethods: ").Append(BlockedPaymentMethods).Append("\n"); sb.Append(" CountryCode: ").Append(CountryCode).Append("\n"); sb.Append(" DeliverAt: ").Append(DeliverAt).Append("\n"); sb.Append(" DeliveryAddress: ").Append(DeliveryAddress).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append(" InstallmentOptions: ").Append(InstallmentOptions.ToCollectionsString()).Append("\n"); sb.Append(" LineItems: ").Append(LineItems.ObjectListToString()).Append("\n"); sb.Append(" MerchantAccount: ").Append(MerchantAccount).Append("\n"); sb.Append(" MerchantOrderReference: ").Append(MerchantOrderReference).Append("\n"); sb.Append(" Metadata: ").Append(Metadata.ToCollectionsString()).Append("\n"); sb.Append(" RecurringProcessingModel: ").Append(RecurringProcessingModel).Append("\n"); sb.Append(" Reference: ").Append(Reference).Append("\n"); sb.Append(" ReturnUrl: ").Append(ReturnUrl).Append("\n"); sb.Append(" Reusable: ").Append(Reusable).Append("\n"); sb.Append(" RiskData: ").Append(RiskData).Append("\n"); sb.Append(" ShopperEmail: ").Append(ShopperEmail).Append("\n"); sb.Append(" ShopperLocale: ").Append(ShopperLocale).Append("\n"); sb.Append(" ShopperName: ").Append(ShopperName).Append("\n"); sb.Append(" ShopperReference: ").Append(ShopperReference).Append("\n"); sb.Append(" Splits: ").Append(Splits.ObjectListToString()).Append("\n"); sb.Append(" Store: ").Append(Store).Append("\n"); sb.Append(" StorePaymentMethod: ").Append(StorePaymentMethod).Append("\n"); sb.Append("}\n"); return(sb.ToString()); }
/// <summary> /// Get the string presentation of the object /// </summary> /// <returns>String presentation of the object</returns> public override string ToString() { var sb = new StringBuilder(); sb.Append("class DirectDebitInitiatedNotificationContent {\n"); sb.Append(" AccountCode: ").Append(AccountCode).Append("\n"); sb.Append(" Amount: ").Append(Amount).Append("\n"); sb.Append(" DebitInitiationDate: ").Append(DebitInitiationDate).Append("\n"); sb.Append(" InvalidFields: ").Append(InvalidFields.ObjectListToString()).Append("\n"); sb.Append(" MerchantAccountCode: ").Append(MerchantAccountCode).Append("\n"); sb.Append(" Splits: ").Append(Splits.ObjectListToString()).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append("}\n"); return(sb.ToString()); }