toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Payer.requester:
      return 'Requester';
    case Payer.bucketOwner:
      return 'BucketOwner';
  }
}