Payment({String id, String intent, String state, String experienceProfileId, String noteToPayer, String failureReason, DateTime createTime, DateTime updateTime, Map redirectUrls, List transactions})

Source

Payment({this.id,
this.intent,
this.state,
this.experienceProfileId,
this.noteToPayer,
this.failureReason,
this.createTime,
this.updateTime,
this.redirectUrls,
this.transactions}) {
  this.createTime = createTime ?? new DateTime.now();
  this.links = links ?? [];
  this.transactions = transactions ?? [];
  this.redirectUrls = redirectUrls ?? {};
}