setExpiry method

Offer setExpiry(
  1. DateTime expiry
)

Sets the expiry

Implementation

Offer setExpiry(DateTime expiry) {
  _expiry = expiry;
  return this;
}