code: func (dc *CDA) AsTransfer() bundle.Transfer {
  	return bundle.Transfer{
  		Address: dc.Address,
  		Value: func() uint64 {
  			if dc.ExpectedAmount == nil {
  				return 0
  			}
  			return *dc.ExpectedAmount
  		}(),
  	}
  }
docs: // AsTransfer converts the conditional deposit address into a transfer object.