pub struct Merchant {Show 15 fields
pub bank_enabled: bool,
pub brands_accepted: Vec<MerchantBrandsAccepted>,
pub business_type: Option<String>,
pub charge_type: Option<Vec<String>>,
pub country: String,
pub created: i64,
pub currencies_supported: Vec<MerchantCurrenciesSupported>,
pub default_currency: MerchantDefaultCurrency,
pub details_submitted: bool,
pub id: MerchantId,
pub livemode_activated_at: Option<i64>,
pub livemode_enabled: bool,
pub product_name: Option<String>,
pub product_type: Option<Vec<String>>,
pub site_published: Option<bool>,
}
Expand description
Merchantオブジェクト
For more details see <https://pay.jp/docs/api>.
Fields§
§bank_enabled: bool
入金先銀行口座情報が設定済みかどうか
brands_accepted: Vec<MerchantBrandsAccepted>
本番環境で利用可能なカードブランドのリスト
business_type: Option<String>
業務形態
charge_type: Option<Vec<String>>
支払い方法種別のリスト
country: String
所在国
created: i64
登録日時
currencies_supported: Vec<MerchantCurrenciesSupported>
対応通貨のリスト
default_currency: MerchantDefaultCurrency
3文字のISOコード(現状 “jpy” のみサポート)
details_submitted: bool
本番環境申請情報が提出済みかどうか
id: MerchantId
acct_mch_で始まる一意なオブジェクトを示す文字列
livemode_activated_at: Option<i64>
本番環境が許可された日時のUTCタイムスタンプ
livemode_enabled: bool
本番環境が有効かどうか
product_name: Option<String>
販売商品名
product_type: Option<Vec<String>>
販売商品の種類リスト
site_published: Option<bool>
申請対象のサイトがオープン済みかどうか
Trait Implementations§
Source§impl Deserialize for Merchant
impl Deserialize for Merchant
Source§impl ObjectDeser for Merchant
impl ObjectDeser for Merchant
type Builder = MerchantBuilder
Auto Trait Implementations§
impl Freeze for Merchant
impl RefUnwindSafe for Merchant
impl Send for Merchant
impl Sync for Merchant
impl Unpin for Merchant
impl UnwindSafe for Merchant
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