pub struct DisbursementCustomerDisplay {
pub merchant_name: Option<DisbursementCustomerDisplayMerchantName>,
pub reference_code: Option<CustomerReferenceCode>,
}Expand description
Display information shown to the recipient for this disbursement. If referenceCode was omitted when creating the disbursement, a generated code is returned.
JSON schema
{
"description": "Display information shown to the recipient for this disbursement. If `referenceCode` was omitted when creating the disbursement, a generated code is returned.",
"allOf": [
{
"$ref": "#/components/schemas/OperationCustomerDisplay"
},
{
"type": "object",
"properties": {
"merchantName": {
"description": "The merchant name displayed to the recipient. Reflects the supplied `merchantName` or the default merchant name configured for your entity.",
"examples": [
"Acme Store"
],
"type": "string",
"maxLength": 128,
"x-audience": "public"
}
},
"x-audience": "public"
}
]
}Fields§
§merchant_name: Option<DisbursementCustomerDisplayMerchantName>The merchant name displayed to the recipient. Reflects the supplied merchantName or the default merchant name configured for your entity.
reference_code: Option<CustomerReferenceCode>A short customer-facing reference code for this payment operation.
Implementations§
Trait Implementations§
Source§impl Clone for DisbursementCustomerDisplay
impl Clone for DisbursementCustomerDisplay
Source§impl Debug for DisbursementCustomerDisplay
impl Debug for DisbursementCustomerDisplay
Source§impl<'de> Deserialize<'de> for DisbursementCustomerDisplay
impl<'de> Deserialize<'de> for DisbursementCustomerDisplay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&DisbursementCustomerDisplay> for DisbursementCustomerDisplay
impl From<&DisbursementCustomerDisplay> for DisbursementCustomerDisplay
Source§fn from(value: &DisbursementCustomerDisplay) -> Self
fn from(value: &DisbursementCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl From<DisbursementCustomerDisplay> for DisbursementCustomerDisplay
impl From<DisbursementCustomerDisplay> for DisbursementCustomerDisplay
Source§fn from(value: DisbursementCustomerDisplay) -> Self
fn from(value: DisbursementCustomerDisplay) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DisbursementCustomerDisplay> for DisbursementCustomerDisplay
impl TryFrom<DisbursementCustomerDisplay> for DisbursementCustomerDisplay
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DisbursementCustomerDisplay) -> Result<Self, ConversionError>
fn try_from(value: DisbursementCustomerDisplay) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DisbursementCustomerDisplay
impl RefUnwindSafe for DisbursementCustomerDisplay
impl Send for DisbursementCustomerDisplay
impl Sync for DisbursementCustomerDisplay
impl Unpin for DisbursementCustomerDisplay
impl UnsafeUnpin for DisbursementCustomerDisplay
impl UnwindSafe for DisbursementCustomerDisplay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more